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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
enum1.C
blob
12b9a5f468c549ed24232132d685371e217b56fb
1
// { dg-do assemble }
2
// GROUPS passed enums
3
class foo {
4
public:
5
enum bar { baz = 1, bat = 7 };
6
};
7
8
class derv : public foo { };
9
10
int main()
11
{
12
foo::bar x = foo::baz;
13
derv::bar y = derv::bat;
14
}