Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
enum1.C
blob: bf17429524824f5f1ba6072ac27e25dc1ed71795 [
file
] [
log
] [
blame
]
// PR c++/38021
// { dg-do compile { target c++11 } }
enum
:
{
};
// { dg-error "expected" }
enum
:
3
{
};
// { dg-error "expected" }