Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
eh26.C
blob: 6d82a4e73a6a384283d60c073e033ad52a3ebe68 [
file
] [
log
] [
blame
]
// { dg-do run { xfail sparc64-*-elf arm-*-pe } }
// { dg-options "-fexceptions" }
class
MyExceptionHandler
{
};
int
main
()
{
try
{
throw
MyExceptionHandler
();
}
catch
(
const
MyExceptionHandler
&
eh
)
{
return
0
;
}
catch
(...)
{
return
1
;
}
return
1
;
}