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
/
enum_base5.C
blob
c01e857e612e224ddb041a0d69ce6be6a9d313b3
1
// PR c++/96380
2
// { dg-do compile { target c++11 } }
3
4
extern const int a, b;
5
enum struct c;
6
template <class>
7
enum struct c : union enum struct c { e = b, f = a }; // { dg-error "types may not be defined|expected|elaborated-type-specifier" }