Sign in
gnu
/
gcc
/
73b957175e53b073ef54d9012de00026297a4829
/
.
/
libstdc++-v3
/
testsuite
/
26_numerics
/
complex
/
pow.C
blob: c3f8479828dcc6d40d225e967ff0d843e9d4efe7 [
file
] [
log
] [
blame
]
// PR libbstdc++/10689
// Origin: Daniel.Levine@jhuaph.edu
#include
<complex>
#include
<testsuite_hooks.h>
int
main
()
{
std
::
complex
<double>
z
(
0
,
1
)
;
VERIFY
(
pow
(
z
,
1.0
/
3.0
)
==
0.0
);
return
0
;
}