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
PR c++/55058
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
enum1.C
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
};