Sign in
llvm
/
llvm-archive
/
1456578521548c1ea3e191fcd25bb39efd8203cd
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
gfortran.dg
/
bounds_check_fail_1.f90
blob: 938d19a6409532b2d9eb110c345310935354e533 [
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
"out of bounds for array 'x', upper bound of dimension 1 exceeded.*at line 5"
}