repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
opt
/
static1.C
blob
05429e18bb559438819daefe8cd7ab53d650b661
1
// PR c++/6073
2
// This testcase ICEd because finish_struct_bits changed
3
// A's and const A's TYPE_MODE from QI to BLK, but did
4
// not change a's DECL_MODE because its mode was not
5
// TYPE_MAIN_VARIANT.
6
7
struct A
8
{
9
static const A a;
10
~A ();
11
};
12
13
void bar (A x);
14
void foo ();
15
16
void
17
foo ()
18
{
19
bar (A::a);
20
}