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

15 lines
203 B
C++
Raw Normal View History

// PR libbstdc++/10689
// Origin: Daniel.Levine@jhuaph.edu
#include <complex>
#include <testsuite_hooks.h>
int main()
{
std::complex<double> z;
VERIFY( pow(z, 1.0/3.0) == 0.0 );
return 0;
}