aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/read_x_eor.f90
blob: a06e6df14533a261790e0fd9387b2ee5b682d331 (plain)
1
2
3
4
5
6
7
8
9
10
! { dg-do run }
! { dg-output "^" }
!
! Test fix for pr24785 - EOR used to scrub the 2X.
! Reduced from PR example submitted by Harald Anlauf <anlauf@gmx.de>
!
     program x_with_advance_bug
     write (*,'(A,2X)',  advance="no") "<"
     write (*,'(A)') ">" ! { dg-output "<  >" }
     end