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
Factor optimize_va_list_gpr_fpr_size out of pass_stdarg::execute
[official-gcc.git]
/
libstdc++-v3
/
testsuite
/
abi
/
pr42230.cc
blob
2a33899533626d7ff1969b2e22cbb62da0d13b8a
1
// { dg-do run }
2
3
#include <cxxabi.h>
4
#include <cassert>
5
#include <cstddef>
6
7
int
main
()
8
{
9
std
::
size_t
length
=
0
;
10
int
cc
;
11
12
char
*
ret
=
abi
::
__cxa_demangle
(
"e"
,
0
, &
length
, &
cc
);
13
14
assert
( (
cc
<
0
&& !
ret
) || (
ret
&&
length
) );
15
return
0
;
16
}