2003-05-20 08:52:11 +02:00
|
|
|
// PR libbstdc++/10689
|
|
|
|
// Origin: Daniel.Levine@jhuaph.edu
|
|
|
|
|
|
|
|
#include <complex>
|
|
|
|
#include <testsuite_hooks.h>
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
2004-03-10 10:16:12 +01:00
|
|
|
std::complex<double> z;
|
2003-05-20 08:52:11 +02:00
|
|
|
|
2004-03-10 10:16:12 +01:00
|
|
|
VERIFY( pow(z, 1.0/3.0) == 0.0 );
|
2003-05-20 08:52:11 +02:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|