Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/pr65903.f90 @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
rev | line source |
---|---|
111 | 1 ! { dg-do run } |
2 ! { dg-options "-std=gnu" } | |
3 ! | |
4 character(20) :: astring | |
5 | |
6 100 format ("& notblank !") | |
7 200 format ("& !") | |
8 300 format ("&!") | |
9 | |
10 write(astring,100) | |
131 | 11 if (astring.ne."& notblank !") STOP 1 |
111 | 12 !print *, astring |
13 write(astring,200) | |
131 | 14 if (astring.ne."& !") STOP 2 |
111 | 15 !print *, astring |
16 write(astring,300) | |
131 | 17 if (astring.ne."&!") STOP 3 |
111 | 18 !print *, astring |
19 | |
20 end |