☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
compat
/
eh
/
ctor1_y.C
☽
☼
gcc/testsuite/g++.dg/compat/eh/ctor1_y.C
code
plain
raw
1
extern bool was_f_in_Bar_destroyed;
2
3
#include "ctor1.h"
4
5
Foo::~Foo()
6
{
7
was_f_in_Bar_destroyed=true;
8
}
9
10
Bar::~Bar()
11
#if __cplusplus < 201103L
12
throw(int)
13
#else
14
noexcept(false)
15
#endif
16
{
17
throw 1;
18
}