summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/print_fmt_3.f
blob: c46b756f0f004bcad5df956a7de8c5c8510995f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do compile }
! PR 23661 Make sure space between PRINT and variable name is not enforced in
! fixed form.
! Also tests the namelist case
      character(5) :: f = "(a)"
      real  x
      namelist /mynml/ x
      printf, "check"
      x = 1
      printmynml ! { dg-warning "extension" }
      end