1 // { dg-do run } 2 #include <stdio.h> 3 4 int bar () 5 { 6 throw 100; 7 return 0; 8 } 9 10 int main () 11 { 12 int i = 0; // this gets deleted after flow analysis 13 try 14 { 15 i = bar (); 16 } 17 catch (...) 18 { 19 } 20 21 printf ("i = %d\n", i); 22 return i; 23 } 24