Sign in
ara-mdk
/
platform
/
ndk
/
f24264ab2f3c2383ad39a5b82f68d717ab444d79
/
.
/
tests
/
device
/
test-stlport_shared-exception
/
jni
/
flow1.cpp
blob: d48a896b2e7a0580d06c8f7b9eeea84c297e7d50 [
file
] [
log
] [
blame
]
// { dg-do run }
#include
<stdio.h>
int
bar
()
{
throw
100
;
return
0
;
}
int
main
()
{
int
i
=
0
;
// this gets deleted after flow analysis
try
{
i
=
bar
();
}
catch
(...)
{
}
printf
(
"i = %d\n"
,
i
);
return
i
;
}