Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
enum23.C
blob: 53ad990bf93d561b23abd440fd19b127d0de44de [
file
] [
log
] [
blame
]
// PR c++/51242
// { dg-do compile { target c++11 } }
enum
class
MyEnum
{
A
=
1
};
struct
MyClass
{
MyEnum
Field1
:
3
;
// { dg-bogus "warning: 'MyClass::Field1' is too small" }
};