1 // PR c++/38021 2 // { dg-do compile { target c++11 } } 3 4 enum : { }; // { dg-error "expected" } 5 enum : 3 { }; // { dg-error "expected" } 6