view gcc/testsuite/gfortran.dg/bounds_check_6.f90 @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

! { 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