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
Plugins: Add label-text.h to CPPLIB_H so it will be installed [PR115288]
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
ftell_2.f90
blob
ea9da060978998c915c18cf2c26c1f376289b879
1
! { dg-do run }
2
integer
(
kind
=
8
)
o
3
open
(
10
,
status
=
"scratch"
)
4
if
(
ftell
(
10
) /=
0
)
STOP
1
5
write
(
10
,
"(A)"
)
"1234567"
6
if
(
ftell
(
10
) /=
8
.
and
.
ftell
(
10
) /=
9
)
STOP
2
7
o
=
ftell
(
10
)
8
write
(
10
,
"(A)"
)
"1234567"
9
if
(
ftell
(
10
) /=
2
*
o
)
STOP
3
10
close
(
10
)
11
if
(
ftell
(
10
) /= -
1
)
STOP
4
12
end