Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gfortran.fortran-torture / execute / partparm.f90
blob839ecf02f692ae3925af53226cb867585fbfcac4
1 ! Program to test
2 subroutine test (p)
3 integer, dimension (3) :: p
5 if (any (p .ne. (/ 2, 4, 6/))) call abort
6 end subroutine
8 program partparm
9 implicit none
10 integer, dimension (2, 3) :: a
11 external test
13 a = reshape ((/ 1, 2, 3, 4, 5, 6/), (/ 2, 3/))
14 call test (a(2, :))
15 end program