view gcc/testsuite/gfortran.dg/fmt_tab_1.f90 @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900 (2018-10-25)
parents 04ced10e8804
children
line wrap: on
line source
! { dg-do compile }
! { dg-options -Wtabs }
! PR fortran/32987
! PR fortran/58001
      program TestFormat
        write (*, 10)
        ! There is a tab character before 'bug!'.  This is accepted without
        ! the -Wno-tabs option or a -std= option.
 10     format ('Hello ',	'bug!') ! { dg-warning "tab character in format" }

      end
! { dg-excess-errors "tab character in format" }