blob: a43b10c11b195747f0fc0ad72e051dbdad9ce1d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
! { dg-do compile }
! Option passed to avoid excess errors from obsolete warning
! { dg-options "-w" }
! PR18827
integer i,j
equivalence (i,j)
assign 1000 to i
write (*, j) ! { dg-error "not been assigned a format label" }
goto j ! { dg-error "not been assigned a target label" }
1000 continue
end
|