Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git] / test / FrontendFortran / cpow.f90
blob25156fd5897156d30aac69f39f3883eb8f66114b
1 ! RUN: %llvmgcc -S %s
2 ! PR2443
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
13 two = 2.0
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