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

5 lines
124 B
Fortran

! { dg-do compile }
! PR fortran/20883
write (*, a) b ! { dg-error "must be of type CHARACTER or INTEGER" }
end