OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* name-lookup.c (current_decl_namespace): Non-static.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
koenig10.C
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
}