2 ! { dg-options "-fcheck=bounds" }
3 ! { dg-shouldfail "above upper bound" }
7 ! Contributed by Joost VandeVondele
17 TYPE(data_areas
) :: z(10)
19 integer, volatile :: i
,j
,k
26 ! { dg-output "At line 22 of file .*bounds_check_17.f90.*Fortran runtime error: Index '11' of dimension 1 of array 'z%y%x' above upper bound of 10" }