OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [libstdc++-v3/] [testsuite/] [abi/] [pr42230.cc] - Blame information for rev 846

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 424 jeremybenn
// { 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.