2015-07-03 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / array_memcpy_3.f90
blob7635a302257a9774ecb8235a7276025c63678c84
1 ! { dg-do compile }
2 ! { dg-options "-O2 -fdump-tree-original" }
4 subroutine foo(x)
5 integer :: x(4)
6 x(:) = (/ 3, 1, 4, 1 /)
7 end subroutine
9 subroutine bar(x)
10 integer :: x(4)
11 x = (/ 3, 1, 4, 1 /)
12 end subroutine
14 ! { dg-final { scan-tree-dump-times "memcpy|ref-all\[^\\n\]*ref-all" 2 "original" } }