1 2 3 4 5 6 7 8 9 10 11 12
/* { dg-do compile } */ /* { dg-options "-fpermissive -w" } */ /* We aren't interested in the warning, but in the ICE. */ void foo(); extern void abort (void); void bar() { try { foo(); } catch (...) {} catch (int) {abort ();} }