Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / testsuite / g++.dg / ext / tmplattr8.C
blob4b8707aa538d311f4a04d5217e9e8147c988fa03
1 // PR c++/28560
3 template<typename> struct A {};
5 template<int> struct B;
7 template<int N> struct C :
8   A<typename B<N>::X __attribute__((unused))> {}; // { dg-warning "attribute" }