Sign in
android
/
platform
/
ndk
/
06c762d797782f574e40a956613c4e19c504b6c1
/
.
/
tests
/
build
/
libcxx-cxa_bad_cast
/
jni
/
foo.cpp
blob: 5dcbb617c947bfd261731aa5edc4a9063871221f [
file
] [
log
] [
blame
]
struct
Foo
{
virtual
~
Foo
()
{}
};
struct
Bar
{
virtual
~
Bar
()
{}
};
int
main
(
int
argc
,
char
**
argv
)
{
Foo
f
;
try
{
Bar
&
b
=
dynamic_cast
<
Bar
&>(
f
);
}
catch
(...)
{
}
return
0
;
}