summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/fmt_nonchar_3.f90
blob: 3b3c260ef7fcc9dfe17230053df76df3a91b30fc (plain)
1
2
3
4
5
6
7
! { dg-do compile }
! PR fortran/101084

program p
  integer, parameter :: a(0) = 1
  print int(a) ! { dg-error "Non-character non-Hollerith in FORMAT tag" }
end