aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/fortran/19 fortran_std/std95.f90
blob: 2837da86afb63bbe2ab0800ffda81dfe81abfcf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
program main
implicit none

integer :: i, j
integer, parameter :: N=3
real :: A(N,N)

A = 0

forall (i=1:N, j=1:N)
  A(i,j) = 1
end forall

end program