[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / ext / attrib9.C
blob6672f7525af5563c4c5f3405c15ae5816d05058e
1 class __attribute__((unused)) C;
2 struct __attribute__((unused)) S;
3 union __attribute__((unused)) U;
4 enum e {};
5 enum __attribute__((unused)) e; // { dg-warning "already defined" }
7 struct __attribute((unused)) B *p;      //  { dg-warning "attributes" }
9 template <class T> struct A { };
10 struct __attribute((unused)) A<int>;    //  { dg-warning "attributes" }