5 integer :: matrix(3,3), iterations
9 ! make sure F2003 '[]' arrays don't break the symbol list
10 type(Symmetry
), parameter :: symmetries(14) = &
11 [ Symmetry(reshape([1,0,0, 0,1,0, 0,0,1], [3,3]),1), &
12 Symmetry(reshape([1,0,0, 0,0,1, 0,-1,0],[3,3]),3), &
13 Symmetry(reshape([0,0,-1, 0,1,0, 1,0,0], [3,3]),3) ]
16 ! make sure coarray syntax doesn't break the symbol list
17 real, allocatable
:: state(:)[:]
18 integer :: invisible_two
20 ! there are multiple ways to specify `dimension` and `codimension`
21 ! a normal dimension and a codimension
22 real, intent(in
), allocatable
, dimension(:), codimension
[:] :: state_two
23 integer :: invisible_three
25 ! a 'normal' scalar (no '()'), but with a codimension '[]'
26 real, allocatable
:: assignee
[:]
27 integer :: invisible_four
31 subroutine execute(state
)
32 real, intent(in
) :: state(:)[:]
33 end subroutine execute