(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
print_parentheses_2.f90
! { dg-do compile }
! { dg-options "-std=legacy" }
!
program main
  character*80 line
  print (line,'(A)'), 'hello' ! { dg-error "Syntax error" }
end program main