repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[03/46] Remove unnecessary update of NUM_SLP_USES
[official-gcc.git]
/
libstdc++-v3
/
testsuite
/
abi
/
pr42230.cc
blob
48156e4ba1817c0eb63007e1f42c482ba63fbc31
1
// { dg-do run }
2
3
#include <cxxabi.h>
4
#include <cassert>
5
#include <cstddef>
6
#include <cstdlib>
7
8
int
main
()
9
{
10
std
::
size_t
length
=
0
;
11
int
cc
;
12
13
char
*
ret
=
abi
::
__cxa_demangle
(
"e"
,
0
, &
length
, &
cc
);
14
15
assert
( (
cc
<
0
&& !
ret
) || (
ret
&&
length
) );
16
std
::
free
(
ret
);
17
return
0
;
18
}