view gcc/testsuite/gfortran.dg/namelist_48.f90 @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +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