summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/namelist_48.f90
blob: e9a29285b1749d29354880fc37927dc743981a0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { 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