Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
gfortran.dg
/
bounds_check_fail_1.f90
blob: d3eb271c328eed36dfd68642584e58b9e8a5155e [
file
] [
log
] [
blame
]
!
{
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
"Index '2' of dimension 1 of array 'x' above upper bound of 1"
}