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
/
pr15332.f
blob
d4d4538bd86da0275c10c8cdb734b8ab0f537179
1
!
PR libfortran
/
15332
2
! {
dg
-
do
run
}
3
! {
dg
-
options
"-std=legacy"
}
4
!
5
character*12 c
6
7
write
(
c
,
100
)
0
,
1
8
if
(
c
.
ne
.
'i = 0, j = 1'
)
STOP
1
9
10
write
(
c
,
100
)
0
11
if
(
c
.
ne
.
'i = 0 '
)
STOP
2
12
13
100
format
(
'i = '
,
i1
,:,
', j = '
,
i1
)
14
end