2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr36006-2.f90
blobf422e09a860c8cfac52a5df54d0580a40520fd51
1 ! { dg-do compile }
2 ! { dg-require-effective-target fortran_large_real }
4 subroutine test_large
5 integer, parameter :: wp = selected_real_kind (precision (0.0_8) + 1)
6 complex(wp), parameter :: i = (0._wp, 1._wp)
7 complex(wp) :: c(12)
8 integer :: m, N
10 N = 12
11 c = (/(exp(i*m),m=1,N)/)
12 print *, c(1)
13 end