[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gfortran.dg / adjustl_1.f90
blob1238da8c29d231f580821d3773644e7d41884a6a
1 ! { dg-do run }
2 ! PR 52749 - this used to ICE.
3 ! Original test case by Stefan Mauerberger.
4 PROGRAM test
5 character(len=10) :: u
6 WRITE(unit=u,fmt='(3A)') PACK(ADJUSTL([" a", " b"]), [.TRUE., .FALSE.])
7 if (u .ne. 'a ') call abort
8 END PROGRAM test