Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
enum2.C
blob: e6e8320e3b6770ab476a63d8255a25aaa7e70266 [
file
] [
log
] [
blame
]
// PR c++/95288
void
f
()
{
enum
X
{
// { dg-message "to match this" }
a
.
// { dg-error "expected" }
b
};
// { dg-error "extra" "" { target c++98_only } }
}
// { dg-error "expected" }