Debian Codegraph @

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

raw
1 // { dg-do run { xfail broken_cplxf_arg } }
2 // PR libstdc++/10689
3 // Origin: [email protected]
4 // { dg-add-options ieee }
5
6 #include <complex>
7 #include <testsuite_hooks.h>
8
9 int main()
10 {
11 std::complex<double> z;
12
13 VERIFY( pow(z, 1.0/3.0) == 0.0 );
14
15 return 0;
16 }