Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
eh
/
unwind-direct.C
blob: 8d2cd772916a5f846cacca0a5bab03be8b10da46 [
file
] [
log
] [
blame
]
// PR target/59788
// { dg-do run { target { *-*-solaris2* && { ! gld } } } }
// { dg-options "-Wl,-Bdirect" }
#include
<stdexcept>
int
main
(
void
)
{
try
{
throw
std
::
runtime_error
(
"Catch me if you can!"
);
}
catch
(...)
{
return
0
;
}
return
1
;
}