view gcc/testsuite/gfortran.dg/namelist_48.f90 @ 128:fe568345ddd5

fix CbC-example
author mir3636
date Wed, 11 Apr 2018 19:32:28 +0900
parents 04ced10e8804
children 84e7813d76e9
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) call abort
      end