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;
}