repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
enum23.C
blob
53ad990bf93d561b23abd440fd19b127d0de44de
1
// PR c++/51242
2
// { dg-do compile { target c++11 } }
3
4
enum class MyEnum { A = 1 };
5
6
struct MyClass
7
{
8
MyEnum Field1 : 3; // { dg-bogus "warning: 'MyClass::Field1' is too small" }
9
};