2014-07-12 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / coarray_32.f90
blob8e6dc54330e7635bcbd543e2e9f71e30d0a422c5
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" } }
17 ! { dg-final { cleanup-tree-dump "original" } }