summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/bounds_check_6.f90
blob: 6535db76005220a44106008a3c8b3ad572761585 (plain)
1
2
3
4
5
6
7
8
! { dg-do run }
! { dg-options "-fbounds-check" }
!
! Testcase for PR30655, we used to issue a compile-time warning
  integer i(12), j
  j = -1
  i(0:j) = 42
  end