repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix compilation failure with C++98 compilers
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
namelist_48.f90
blob
b96b1c5e767da36653c33646b4f8705dc9635be4
1
! { dg-do run }
2
! { dg-options "-fbackslash" }
3
! PR36538 namelist failure with tabs preceding object name
4
program
check1
5
integer
x
6
namelist
/
casein
/
x
7
open
(
1
,
status
=
"scratch"
)
8
write
(
1
,
'(a)'
)
"&CASEIN"
9
write
(
1
,
'(a)'
)
"
\t\t
x = 1"
10
write
(
1
,
'(a)'
)
"/"
11
rewind
(
1
)
12
x
=
0
13
read
(
1
,
casein
)
14
if
(
x
.
ne
.1
)
STOP
1
15
end