mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 05:51:04 +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;
|
||
|
}
|