2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr15332.f
blob813e3018839be2e2ade8c798bc20bc4c03e2bb7a
1 ! PR libfortran/15332
2 ! { dg-do run }
3 ! { dg-options "-std=legacy" }
5 character*12 c
7 write (c,100) 0, 1
8 if (c .ne. 'i = 0, j = 1') call abort
10 write (c,100) 0
11 if (c .ne. 'i = 0 ') call abort
13 100 format ('i = ',i1,:,', j = ',i1)
14 end