summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr38868.f
blob: 6acd52b186cda446f4af285ce7237411bc902a60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
! { dg-do compile }
! { dg-options "-O2 -fdump-rtl-expand" }
      PROGRAM testcase
      IMPLICIT NONE

      CHARACTER*4 ANER(18)
      CHARACTER*80 LINE
      aner = ''
      ANER(1)='A   '
      ANER(2)='    '
      LINE=' '
      LINE(78:80)='xyz'
      WRITE(*,'(A82)') "'"//LINE//"'"
      END

! { dg-final { scan-rtl-dump-times "line\\\+80" 0 "expand" } }
! { dg-final { cleanup-rtl-dump "expand" } } */