Sign in
ara-mdk
/
platform
/
ndk
/
9dfe9715582bb2a7381cd85c6446dd20b11f7eb3
/
.
/
tests
/
device
/
test-stlport_shared-exception
/
jni
/
eh42.cpp
blob: ab69c3c534dad455041e054e727037d2d2cbbde1 [
file
] [
log
] [
blame
]
// { dg-do run { xfail sparc64-*-elf arm-*-pe } }
// { dg-options "-fexceptions" }
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
;
}
}