2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr36192.f90
blobdf3bfd75f2434d94c9f0526ebb47a38e7e718f4e
1 ! { dg-do compile }
2 ! PR fortran/36192.f90
4 program three_body
5 real, parameter :: n = 2, d = 2
6 real, dimension(n,d) :: x ! { dg-error "of INTEGER type|of INTEGER type" }
7 x(1,:) = (/ 1.0, 0.0 /)
8 end program three_body
9 ! { dg-prune-output "have constant shape" }