Sign in
ara-mdk
/
platform
/
ndk
/
50a1bc66f8474cbe6f9757b7bc66c56c4c923c32
/
.
/
tests
/
device
/
test-stlport_shared-exception
/
jni
/
eb50.cpp
blob: 8d2c4033f73bd36846faf5953817e33a16c9d5c8 [
file
] [
log
] [
blame
]
// { dg-do run }
struct
foo
{
};
int
f
(
int
a
,
int
b
)
{
if
(
b
==
0
)
throw
foo
();
return
a
/
b
;
}
int
main
()
{
try
{
f
(
0
,
0
);
return
1
;
}
catch
(
foo x
)
{
return
0
;
}
}