summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/power.f90
blob: 5f6b6c6c3a33d40962ee91a3337f3d378cc29b00 (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do run }
integer i
i = 0
if ( a (i) ** 5 .ne. 1) call abort ()
contains
function a (i)
integer a, i
i = i + 1
a = i
end function
end