gcc/fortran/
[official-gcc.git] / gcc / testsuite / gfortran.dg / coarray_32.f90
blob09c11fdbb2a90f44148596275df6db0532beee67
1 ! { dg-do compile }
2 ! { dg-options "-fdump-tree-original -fcoarray=lib" }
4 real, allocatable :: values(:)[:]
5 allocate(values(1024)[*])
6 call laplacian(values)
7 contains
8 subroutine laplacian(rhs)
9 real, allocatable :: rhs(:)[:]
10 real :: local_laplacian(size(rhs))
11 local_laplacian=0.
12 end subroutine
13 end
15 ! { dg-final { scan-tree-dump-times "ubound.. = " 1 "original" } }
16 ! { dg-final { scan-tree-dump-times "size.. = " 2 "original" } }