summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/print_fmt_2.f90
blob: c7a5cc146140e7f4355919df311fd0844a6383b0 (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 enforced in
! free form.
! Also tests the namelist case
character(5) :: f = "(a)"
real  x
namelist /mynml/ x
printf, "check" ! { dg-error "Unclassifiable" }
x = 1
printmynml ! { dg-error "" }
end