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
Formatting fixes.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
m1.C
1
// { dg-do assemble }
2
3
int f1 () {
4
struct A {
5
A() : b (2) { }
6
int fred () { return b.hi_mom; }
7
struct B {
8
int hi_mom;
9
B (int a) { hi_mom = a; }
10
};
11
B b;
12
};
13
A aa;
14
return aa.fred();
15
}
16
/* crashes with signal 11 */