rt_gccstream/gcc/testsuite/gfortran.dg/print_parentheses_2.f90

8 lines
163 B
Fortran

! { dg-do compile }
! { dg-options "-std=legacy" }
!
program main
character*80 line
print (line,'(A)'), 'hello' ! { dg-error "Syntax error" }
end program main