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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libstdc++-v3/] [testsuite/] [abi/] [pr42230.cc] - Rev 746

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

// { 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;
}
 

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

powered by: WebSVN 2.1.0

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