Sign in
ara-mdk
/
platform
/
ndk
/
f4f10df3fdd08ef9f466d9b54953c1ba3e64827b
/
.
/
tests
/
device
/
test-stlport_static-exception
/
jni
/
eh8.cpp
blob: 26f3419f7d33c2c6e4ac2e4f7eba10cf83afe662 [
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
;
}