Commit 2e38371e by Francois-Xavier Coudert Committed by François-Xavier Coudert

* gfortran.dg/bounds_check_fail_1.f90: New test.

From-SVN: r117431
parent 1576e2be
2006-10-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
* gfortran.dg/bounds_check_fail_1.f90: New test.
2006-10-03 Mark Mitchell <mark@codesourcery.com>
PR c++/29020
! { dg-do run }
! { dg-options "-fbounds-check" }
! { dg-shouldfail "foo" }
integer x(1)
x(2) = x(1) ! { dg-warning "out of bounds" }
end
! { dg-output "out of bounds for array 'x', upper bound of dimension 1 exceeded.*at line 5" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment