OSDN Git Service

2012-06-14 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / ext / attrib9.C
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" }
6
7 struct __attribute((unused)) B *p;      //  { dg-warning "attributes" }
8
9 template <class T> struct A { };
10 struct __attribute((unused)) A<int>;    //  { dg-warning "attributes" }