Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / libstdc++-v3 / testsuite / 26_numerics / complex / pow.cc
bloba43e3c6743459e3022609e9b530ca50b056b46b0
1 // { dg-do run { xfail broken_cplxf_arg } }
2 // PR libstdc++/10689
3 // Origin: Daniel.Levine@jhuaph.edu
4 // { dg-add-options ieee }
6 #include <complex>
7 #include <testsuite_hooks.h>
9 int main()
11 std::complex<double> z;
13 VERIFY( pow(z, 1.0/3.0) == 0.0 );
15 return 0;