summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/assign_5.f90
blob: 632bd0917ee6362a3f7e3f38a6933ed17df4cbb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { dg-do run }
! Assign a label to a dummy argument.
! Option passed to avoid excess errors from obsolete warning
! { dg-options "-w" }

subroutine s1 (a)
integer a
assign 777 to a
go to a
777 continue
end
program test
call s1 (1)
end