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
/
init
/
dtor2.C
blob
56c7cac914dc7a6911667d73d1559eb883e3e675
1
// { dg-do run }
2
3
extern "C" void abort ();
4
5
struct A
6
{
7
~A();
8
};
9
10
A::~A () {
11
abort ();
12
}
13
14
struct B
15
{
16
~B();
17
};
18
19
B::~B () {
20
if(true) return;
21
A a;
22
}
23
24
int main()
25
{
26
B b;
27
return 0;
28
}