2 ! PR31395 Colon edit descriptor is ignored.
3 ! Test case derived from PR. Prepared by Jerry DeLisle
4 ! <jvdelisle@gcc.gnu.org>
7 character(30) :: astring
9 10 FORMAT('i =',I2:' this should not print')
10 if (astring.ne."i = 1") call abort
11 write(astring, 20) i, i
12 20 format('i =',I2:' this should print',I2)
13 if (astring.ne."i = 1 this should print 1") call abort