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
PR c++/53995
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
enum9.C
blob
559db31d51b9288706ecc51bcb95ea2d2f316f0a
1
// PR c++/53995
2
3
enum E1 { e };
4
void f(E1);
5
6
struct A {
7
int i1,i2,i3,i4,i5,i6,i7,i8,i9,i10;
8
void g();
9
void h();
10
};
11
12
void A::g() { enum E2 { e }; }
13
void A::h() { f(e); }