summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/26_numerics/complex/pow.cc
blob: a43e3c6743459e3022609e9b530ca50b056b46b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { 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;
}