1 // { dg-do compile { target c++11 } }
7 enum [[gnu::unused]] e; // { dg-warning "already defined" }
9 struct [[gnu::unused]] B *p; // { dg-warning "attributes" }
11 template <class T> struct A { };
12 struct [[gnu::unused]] A<int>; // { dg-warning "attributes" }