Sign in
ara-mdk
/
platform
/
ndk
/
a853d52d46fada5d31b72b1b570b2982bd54bcb3
/
.
/
tests
/
device
/
test-stlport_static-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
;
}