blob: ebf95e35bfecad138eaca38bb9f1a499bf8ae540 (
plain)
1
2
3
4
5
6
7
8
|
! { dg-do compile }
! PR fortran/36192.f90
!
program three_body
real, parameter :: n = 2, d = 2
real, dimension(n,d) :: x ! { dg-error "Expecting a scalar INTEGER" }
x(1,:) = (/ 1.0, 0.0 /) ! { dg-error "Unclassifiable" }
end program three_body
|