Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/namelist_49.f90 @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 84e7813d76e9 |
children |
rev | line source |
---|---|
111 | 1 ! { dg-do run } |
2 ! { dg-options "-fbackslash" } | |
3 ! PR36546 Namelist error with tab following a comma and newline | |
4 program check1 | |
5 real a,b,c | |
6 namelist/CASEDAT/A,B,C | |
7 open(1, status="scratch") | |
8 write(1,'(a)') "&CASEDAT" | |
9 write(1,'(a)') "\t\tA = 1.0,\t\tB = 2.0," | |
10 write(1,'(a)') "\t\tC = 3.0," | |
11 write(1,'(a)') " /" | |
12 rewind(1) | |
13 a = 0.0 | |
14 b = 0.0 | |
15 c = 0.0 | |
16 read(1,casedat) | |
131 | 17 if ((a.ne.1.0) .or. (b.ne.2.0) .or. (c.ne.3.0)) STOP 1 |
111 | 18 end |
19 |