Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
enum20.C
blob: f39933ac4eadc00c184d88d80ac1b33b771bed10 [
file
] [
log
] [
blame
]
// PR c++/47635
// { dg-do compile { target c++11 } }
enum
A
{
};
void
A
::
f
()
{
}
// { dg-error "6:.enum A. is not a class" }