Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
eh12.C
blob: 8ec2998efd481e19cd090fac9c570e722b692788 [
file
] [
log
] [
blame
]
// { dg-do run { xfail sparc64-*-elf arm-*-pe } }
// { dg-options "-fexceptions" }
class
MyError
{
};
int
main
(
int
argc
,
char
**
argv
)
{
try
{
throw
MyError
();
}
catch
(
MyError
x
)
{
}
return
0
;
}