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