summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/print_parentheses_2.f90
blob: 520973ed160b0b717f40bdbe849381804fb67bdf (plain)
1
2
3
4
5
6
7
! { dg-do compile }
! { dg-options "-std=legacy" }
!
program main
  character*80 line
  print (line,'(A)'), 'hello' ! { dg-error "Syntax error" }
end program main