view gcc/testsuite/gfortran.dg/namelist_48.f90 @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
line wrap: on
line source

! { dg-do run }
! { dg-options "-fbackslash" }
! PR36538 namelist failure with tabs preceding object name
      program check1
      integer x
      namelist/casein/x
      open(1, status="scratch")
      write(1,'(a)') "&CASEIN"	
      write(1,'(a)') "\t\tx = 1"
      write(1,'(a)') "/"
      rewind(1)
      x = 0
      read(1,casein)
      if (x.ne.1) STOP 1
      end