blob: 3088593656e1901c52f826ebc004477462c05e02 [file] [log] [blame]
// { dg-do run }
#include <cassert>
#include <iostream>
int bar ()
{
throw 100;
}
int main ()
{
int i = 0;
try
{
i = bar ();
}
catch (...)
{
}
// std::cout << "i = " << i << std::endl;
assert (i == 0) ;
}