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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
enum8.C
blob
d9380ad09ef3447694676130dd28a483c3ce4d04
1
// Build don't link:
2
// GROUPS passed enums
3
class foo1
4
{
5
public:
6
enum foo1_enum
7
{
8
ENUM1,
9
ENUM2,
10
}; // ERROR - comma
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
};