Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
gcc
/
testsuite
/
g++.dg
/
compat
/
eh
/
ctor1_y.C
blob: 5478bb79c2d5cd007123dc46fdd1cb096edb35b4 [
file
] [
log
] [
blame
]
extern
bool
was_f_in_Bar_destroyed
;
#include
"ctor1.h"
Foo
::~
Foo
()
{
was_f_in_Bar_destroyed
=
true
;
}
Bar
::~
Bar
()
#if __cplusplus < 201103L
throw
(
int
)
#else
noexcept
(
false
)
#endif
{
throw
1
;
}