repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
enum8.C
blob
c48398ef87c38f0e4f7a69118d8338650b3a9edd
1
// { dg-do assemble }
2
// GROUPS passed enums
3
class foo1
4
{
5
public:
6
enum foo1_enum
7
{
8
ENUM1,
9
ENUM2, // { dg-error "comma at end" "" { target { ! c++11 } } }
10
};
11
};
12
13
14
class foo2
15
{
16
private:
17
enum foo1::foo1_enum Enum;
18
};
19
20
21
class foo3
22
{
23
private:
24
foo1::foo1_enum Enum;
25
};