summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/read_x_eor.f90
blob: 064835a8b2879bf848e117c8548d1c0f94542e25 (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