aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.fortran-torture/execute/internal_write.f90
blob: 1e492977b0677b67b032d14d147317cb18b3defb (plain)
1
2
3
4
5
6
7
8
9
10
11
! PR 14901
! Internal writes were appending CR after the last char
! written by the format statement.
       CHARACTER*10 A
       WRITE(A,'(3HGCC)')
       IF (A.NE.'GCC       ') THEN
!         PRINT*,'A was not filled correctly by internal write'
!         PRINT*,' A = ',A
          CALL ABORT
       ENDIF
       END