Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
eh8.C
blob: be69abcf855a97fc176f241a5f519e5088710be9 [
file
] [
log
] [
blame
]
// { dg-do run { xfail sparc64-*-elf arm-*-pe } }
// { dg-options "-fexceptions" }
extern
"C"
int
printf
(
const
char
*,
...);
int
i
;
int
main
()
{
try
{
try
{
throw
i
;
}
catch
(
char
*)
{
return
1
;
}
return
1
;
}
catch
(
int
i
)
{
return
0
;
}
return
1
;
}