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
* ru.po: Update.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
koenig10.C
blob
f2fce9cf74f62063c07a41bc84b97858c3f240e6
1
// Test for proper handling of class-scope enums.
2
3
struct A
4
{
5
enum E { e };
6
friend void f (E);
7
};
8
9
int main()
10
{
11
f(A::e);
12
}