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
2008-07-06 Kai Tietz <kai.tietz@onevision.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
slash_1.f90
blob
b62b338c07c2b3e47cccc17de25cf6dca1265508
1
! PR libfortran/22170
2
! { dg-do run { target fd_truncate } }
3
integer
i
4
open
(
10
,
status
=
'scratch'
)
5
write
(
10
,
'(A,2/,A)'
)
'12'
,
'17'
6
rewind
(
10
)
7
read
(
10
,
'(I2)'
)
i
8
if
(
i
/=
12
)
call
abort
9
read
(
10
,
'(I2)'
)
i
10
if
(
i
/=
0
)
call
abort
11
read
(
10
,
'(I2)'
)
i
12
if
(
i
/=
17
)
call
abort
13
end