Sign in
ara-mdk
/
platform
/
ndk
/
47097cee425d829a45dc4bef2f427309d978f6c7
/
.
/
tests
/
device
/
test-stlport_shared-exception
/
jni
/
eh12.cpp
blob: 8ec2998efd481e19cd090fac9c570e722b692788 [
file
] [
log
] [
blame
]
// { dg-do run { xfail sparc64-*-elf arm-*-pe } }
// { dg-options "-fexceptions" }
class
MyError
{
};
int
main
(
int
argc
,
char
**
argv
)
{
try
{
throw
MyError
();
}
catch
(
MyError
x
)
{
}
return
0
;
}