Retro68/gcc/libstdc++-v3/testsuite/26_numerics/complex/pow.cc

17 lines
273 B
C++
Raw Normal View History

2012-03-27 23:13:14 +00:00
// { 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;
}