repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
libstdc++-v3
/
testsuite
/
26_numerics
/
complex
/
pow.cc
blob
d0b8e901f8cc37c3ac6be6504e89d13be8edbf04
1
// { dg-do run { xfail broken_cplxf_arg } }
2
// PR libstdc++/10689
3
// Origin: Daniel.Levine@jhuaph.edu
4
// { dg-options "-mieee" { target alpha*-*-* } }
5
6
#include <complex>
7
#include <testsuite_hooks.h>
8
9
int
main
()
10
{
11
std
::
complex
<
double
>
z
;
12
13
VERIFY
(
pow
(
z
,
1.0
/
3.0
) ==
0.0
);
14
15
return
0
;
16
}