view gcc/testsuite/gfortran.dg/pr15332.f @ 128:fe568345ddd5

fix CbC-example
author mir3636
date Wed, 11 Apr 2018 19:32:28 +0900
parents 04ced10e8804
children 84e7813d76e9
line wrap: on
line source

! PR libfortran/15332
! { dg-do run }
! { dg-options "-std=legacy" }
!
      character*12 c

      write (c,100) 0, 1
      if (c .ne. 'i = 0, j = 1') call abort
      
      write (c,100) 0
      if (c .ne. 'i = 0       ') call abort

 100  format ('i = ',i1,:,', j = ',i1)
      end