Sign in
ara-mdk
/
platform
/
ndk
/
9dfe9715582bb2a7381cd85c6446dd20b11f7eb3
/
.
/
tests
/
device
/
test-stlport_static-exception
/
jni
/
ptrmem1_1.cpp
blob: 299dc4a05cfb729a97d1810cd41e43c01a8c2f9f [
file
] [
log
] [
blame
]
// { dg-do run }
extern
"C"
void
exit
(
int
);
extern
"C"
void
abort
(
void
);
struct
A
{
int
i
;
};
int
main
()
{
try
{
throw
&
A
::
i
;
}
catch
(
int
A
::*
p
)
{
if
(
p
==
&
A
::
i
)
exit
(
0
);
else
abort
();
}
abort
();
}