comparison gcc/testsuite/gfortran.dg/fmt_white.f @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
10 line = "12.34" 10 line = "12.34"
11 read(line,*) x 11 read(line,*) x
12 write(line,10) x 12 write(line,10) x
13 10 format(g1 13 10 format(g1
14 * 1.4) 14 * 1.4)
15 if (line.ne." 12.34") call abort() 15 if (line.ne." 12.34") STOP 1
16 line = "" 16 line = ""
17 write(line,20) x 17 write(line,20) x
18 20 format(t r 2 , g 1 1 . 4) 18 20 format(t r 2 , g 1 1 . 4)
19 if (line.ne." 12.34") call abort() 19 if (line.ne." 12.34") STOP 2
20 end 20 end