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