Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
eh
/
omit-frame-pointer.C
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
;
}