[03/46] Remove unnecessary update of NUM_SLP_USES
[official-gcc.git] / libstdc++-v3 / testsuite / abi / pr42230.cc
blob48156e4ba1817c0eb63007e1f42c482ba63fbc31
1 // { dg-do run }
3 #include <cxxabi.h>
4 #include <cassert>
5 #include <cstddef>
6 #include <cstdlib>
8 int main()
10 std::size_t length = 0;
11 int cc;
13 char* ret = abi::__cxa_demangle("e", 0, &length, &cc);
15 assert( (cc < 0 && !ret) || (ret && length) );
16 std::free(ret);
17 return 0;