summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/adjustl_1.f90
blob: 1238da8c29d231f580821d3773644e7d41884a6a (plain)
1
2
3
4
5
6
7
8
! { dg-do  run }
! PR 52749 - this used to ICE.
! Original test case by Stefan Mauerberger.
PROGRAM test
  character(len=10) :: u
  WRITE(unit=u,fmt='(3A)') PACK(ADJUSTL([" a", " b"]), [.TRUE., .FALSE.])
  if (u .ne. 'a    ') call abort
END PROGRAM test