diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/g77/12632.f')
-rw-r--r-- | gcc/testsuite/gfortran.dg/g77/12632.f | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/g77/12632.f b/gcc/testsuite/gfortran.dg/g77/12632.f new file mode 100644 index 000000000..398333926 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/g77/12632.f @@ -0,0 +1,6 @@ +C { dg-do compile } +C { dg-options "-fbounds-check" } + INTEGER I(1) + I(2) = 0 ! { dg-warning "out of bounds" "out of bounds" } + END + |