repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
enum1.C
blob
aa5c976acccf7666b274ef09b8b26e8907455e87
1
// PR c++/6037
2
// This testcase ICEd because start_enum expected pushtag to insert
3
// the tag always into current binding level.
4
5
struct A
6
{
7
~A () { }
8
};
9
10
struct B
11
{
12
void foo ()
13
{
14
switch (0) { default: ; }
15
A a;
16
enum C { };
17
(void) a;
18
}
19
};