diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/assign_5.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/assign_5.f90 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/assign_5.f90 b/gcc/testsuite/gfortran.dg/assign_5.f90 new file mode 100644 index 000000000..632bd0917 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/assign_5.f90 @@ -0,0 +1,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 + |