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
hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
fmt_t_4.f90
blob
22f861771146ad6d66b9da827d66630906d20ea5
1
! { dg-do run }
2
! PR31199, test case from PR report.
3
program
write_write
4
character
(
len
=
20
) ::
a
,
b
,
c
5
open
(
10
,
status
=
"scratch"
)
6
write
(
10
,
"(a,t1,a,a)"
)
"xxxxxxxxx"
,
"abc"
,
"def"
7
write
(
10
,
"(a,t1,a)"
,
advance
=
'no'
)
"xxxxxxxxx"
,
"abc"
8
write
(
10
,
"(a)"
)
"def"
9
write
(
10
,
"(a)"
)
"abcdefxxx"
10
rewind
(
10
)
11
read
(
10
,*)
a
12
read
(
10
,*)
b
13
read
(
10
,*)
c
14
close
(
10
)
15
if
(
a
.
ne
.
b
)
STOP
1
16
IF
(
b
.
ne
.
c
)
STOP
2
17
end
18