Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr57499.C
blob: fd985a199b84336d9f4becc2d56d697a3d2ad1d4 [
file
] [
log
] [
blame
]
// PR middle-end/57499
// { dg-do compile }
struct
S
{
~
S
()
__attribute__
((
noreturn
))
{}
// { dg-warning "function does return" }
};
void
foo
()
{
S s
;
throw
1
;
}