8sa1-gcc/gcc/testsuite/g++.old-deja/g++.eh/flow1.C
Jason Merrill 4495766362 fix implicit int
From-SVN: r23760
1998-11-22 18:23:45 -05:00

22 lines
222 B
C

#include <stdio.h>
int bar ()
{
throw 100;
}
int main ()
{
int i = 0; // this gets deleted after flow analysis
try
{
i = bar ();
}
catch (...)
{
}
printf ("i = %d\n", i);
return i;
}