blob: 3792e11fe4c90d0213f12ad821d6f09aaa677152 [file] [log] [blame]
// { dg-do run }
// { dg-options -fomit-frame-pointer }
#include <iostream>
class Bug
{
};
int throw_bug()
{
throw Bug();
return 0;
}
int main()
{
try {
std::cout << throw_bug();
} catch (Bug bug) {
};
return 0;
}