repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs in register stack pass.
[llvm/zpu.git]
/
test
/
FrontendFortran
/
cpow.f90
blob
19ae3784c2181dc52131fd54c682a73a56ad3cae
1
! RUN: %llvmgcc -c %s
2
! PR2443
3
4
! Program to test the power (**) operator
5
program
testpow
6
implicit none
7
real
(
kind
=
4
)
r
,
s
,
two
8
real
(
kind
=
8
) ::
q
9
complex
(
kind
=
4
) ::
c
,
z
10
real
,
parameter
::
del
=
0.0001
11
integer
i
,
j
12
13
two
=
2.0
14
15
c
= (
2.0
,
3.0
)
16
c
=
c
**
two
17
if
(
abs
(
c
- (-
5.0
,
12.0
)) .
gt
.
del
)
call
abort
18
end program