Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" }
};