OSDN Git Service

* testsuite/26_numerics/complex/pow.cc: Use -mieee on alpha.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 26_numerics / complex / pow.cc
1 // PR libstdc++/10689
2 // Origin: Daniel.Levine@jhuaph.edu
3 // { dg-options "-mieee" { target alpha*-*-* } }
4
5 #include <complex>
6 #include <testsuite_hooks.h>
7
8 int main()
9 {
10    std::complex<double> z;
11
12    VERIFY( pow(z, 1.0/3.0) == 0.0 );
13
14    return 0;
15 }