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