OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git]
/
libstdc++-v3
/
testsuite
/
abi
/
pr42230.cc
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
}