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