Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
;
}