Retro68/gcc/libstdc++-v3/testsuite/26_numerics/complex/pow.cc
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

17 lines
273 B
C++

// { dg-do run { xfail broken_cplxf_arg } }
// PR libstdc++/10689
// Origin: Daniel.Levine@jhuaph.edu
// { dg-add-options ieee }
#include <complex>
#include <testsuite_hooks.h>
int main()
{
std::complex<double> z;
VERIFY( pow(z, 1.0/3.0) == 0.0 );
return 0;
}