PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / gen-attrs-25.C
blob09486d66b76800770f774dd4f37de46d457e0b6c
1 // PR c++/28559
2 // { dg-do compile { target c++11 } }
4 template<typename T> struct A
6   struct B;
7 };
9 struct C
11   template<typename T> friend struct [[gnu::packed]] A<T>::B; // { dg-warning "uninstantiated" }