summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr40839.f90
blob: 92285295c21cf7b004a0d204f6fa3b0eb2deb9dd (plain)
1
2
3
4
5
! PR fortran/40839
! { dg-do compile }
write(fmt='(a)'), 'abc'         ! { dg-error "UNIT not specified" }
write(fmt='()')                 ! { dg-error "UNIT not specified" }
end