Sign in
chromium
/
native_client
/
nacl-gcc
/
1e19388af7eca2fc3ead4a84c2b9cc30ebd18e8a
/
.
/
libstdc++-v3
/
testsuite
/
abi
/
pr42230.cc
blob: 2a33899533626d7ff1969b2e22cbb62da0d13b8a [
file
] [
log
] [
blame
]
// { dg-do run }
#include
<cxxabi.h>
#include
<cassert>
#include
<cstddef>
int
main
()
{
std
::
size_t
length
=
0
;
int
cc
;
char
*
ret
=
abi
::
__cxa_demangle
(
"e"
,
0
,
&
length
,
&
cc
);
assert
(
(
cc
<
0
&&
!
ret
)
||
(
ret
&&
length
)
);
return
0
;
}