Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
scoped_enum_98.C
blob: 8c24e86bac2ddc7cdfdfcba352b7455b7e561c50 [
file
] [
log
] [
blame
]
// { dg-do compile }
// { dg-options "-std=c++98" }
enum
class
E1
{
e1
};
// { dg-warning "scoped enums" }
enum
E2
:
char
{
e2
};
// { dg-warning "scoped enums" }