mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-04 16:50:57 +00:00
17 lines
273 B
C++
17 lines
273 B
C++
|
// { 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;
|
||
|
}
|