summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/assign_1.f90
blob: 81aaeff2d324152b3275d7314340b7f6cd1d0b74 (plain)
1
2
3
4
5
6
7
! { dg-do compile }
! Option passed to avoid excess errors from obsolete warning
! { dg-options "-w" }
      integer i(5)
      assign 1000 to i   ! { dg-error "scalar default INTEGER" }
 1000 continue
      end