URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [pr36006-1.f90] - Rev 708
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
!
subroutine test4
integer, parameter :: wp = 4
complex(wp), parameter :: i = (0._wp, 1._wp)
complex(wp) :: c(12)
integer :: m, N
N = 12
c = (/(exp(i*m),m=1,N)/)
print *, c(1)
end
subroutine test8
integer, parameter :: wp = 8
complex(wp), parameter :: i = (0._wp, 1._wp)
complex(wp) :: c(12)
integer :: m, N
N = 12
c = (/(exp(i*m),m=1,N)/)
print *, c(1)
end
Go to most recent revision | Compare with Previous | Blame | View Log