Debian Codegraph @

gcc/testsuite/g++.dg/tree-ssa/pr41906.C

raw
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
7 void bar()
8 {
9 try { foo(); }
10 catch (...) {}
11 catch (int) {abort ();}
12 }