Sign in
gnu
/
gcc
/
14bc1c0e15633ea781d76d0ae4274b2e27d51db5
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
eh42.C
blob: f11672839427a24b93886cb7753b2a2ca97d9660 [
file
] [
log
] [
blame
]
// Special g++ Options: -fexceptions
// excess errors test - XFAIL a29k-*-* sparc64-*-elf arm-*-pe
struct
none
{
int
i
[
50
];
};
class
my_ex
{
}
a
;
none throw_it
()
{
throw
1
;
}
int
main
()
{
try
{
none n
=
throw_it
();
}
catch
(
int
ex
)
{
return
0
;
}
}