repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.dg
/
compat
/
eh
/
nrv1_x.C
blob
0647de889a56b964b5ba54513b3eb1eab42fc117
1
extern "C" void exit (int);
2
extern "C" void abort (void);
3
4
#include "nrv1.h"
5
6
extern A f (void);
7
8
int c, d;
9
10
void nrv1_x ()
11
{
12
try
13
{ A a = f(); }
14
catch (...) { }
15
if (d < c)
16
abort ();
17
exit (0);
18
}
19
20
A::A() { ++c; }
21
A::~A() { ++d; }