summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/PR40660.f90
blob: a269ca3b2fe8944b4c69660199fa8a1eb380bdb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { dg-do compile }
! { dg-options "-fdump-tree-original-lineno" }
!
! PR fortran/40660

PROGRAM test
  INTEGER, DIMENSION(3) :: a1,a2
  a1 = 1
  PRINT*, a1
  a2 = 2
end program test

! { dg-final { scan-tree-dump-times ": 3\] _gfortran" 0 "original" } }
! { dg-final { cleanup-tree-dump "original" } }