Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
enum26.C
blob: cfc5df3a3f560f1b7aca2615f9ff2332f95533f2 [
file
] [
log
] [
blame
]
// PR c++/54216
// { dg-do compile { target c++11 } }
// { dg-options "-pedantic" }
enum
{};
// { dg-warning "empty anonymous" }
enum
class
{};
// { dg-error "anonymous" }
enum
class
{
x
};
// { dg-error "anonymous" }