URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [pr36006-1.f90] - Rev 484
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