blob: 9bc89260c3151d4a38e2b610cedc6d8052ab52e6 [file] [log] [blame]
// { dg-do assemble }
// { dg-options "-fexceptions" }
struct C {
bool mem;
~C();
};
C genTemp();
int foo_notok(int arg) {
switch (arg) {
case 0:
return genTemp().mem;
default:
return 3;
}
}