summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/assign_2.f90
blob: 6db1f2fe85ce42171fd603db45354e7dc9c0b871 (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do run }
! Option passed to avoid excess errors from obsolete warning
! { dg-options "-w" }
! PR18827
      integer i,j
      common /foo/ i,j
      assign 1000 to j
      j = 5
      goto j
 1000 continue
      end