aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/assign_2.f90
blob: 4119cd94f58a60794eec5060b425e046811b8a44 (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
      common /foo/ i,j
      assign 1000 to j
      j = 5
      goto j
 1000 continue
      end