summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/attrib24.C
blob: 208809a3f3e0b742b90673a301f6a7a58640d94f (plain)
1
2
3
4
// PR c++/28387
// { dg-do compile }

enum __attribute__((unused)) E;  // { dg-error "without previous declaration" }