diff options
author | David Billinghurst <David.Billinghurst@riotinto.com> | 2004-07-09 14:34:12 +0000 |
---|---|---|
committer | David Billinghurst <billingd@gcc.gnu.org> | 2004-07-09 14:34:12 +0000 |
commit | 5b1c60e9de5246e484e15305795b8f9557ccefcd (patch) | |
tree | 3194c04476c4b049a7ca524282b298bb3a3b2d89 /gcc/testsuite/gfortran.dg | |
parent | 3042e24bb1d8ab15520f58d9606025b69693c092 (diff) | |
download | gcc-5b1c60e9de5246e484e15305795b8f9557ccefcd.zip gcc-5b1c60e9de5246e484e15305795b8f9557ccefcd.tar.gz gcc-5b1c60e9de5246e484e15305795b8f9557ccefcd.tar.bz2 |
gfortran-dg.exp (gfortran-dg-test): Adapt regular expression to match gfortran warning/error messages
2004-07-10 David Billinghurst (David.Billinghurst@riotinto.com)
* lib/gfortran-dg.exp (gfortran-dg-test): Adapt regular
expression to match gfortran warning/error messages
* gfortran.dg/g77/12632.f: Copy from g77.dg and fix
dg-error text.
From-SVN: r84372
Diffstat (limited to 'gcc/testsuite/gfortran.dg')
-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 0000000..91121c8 --- /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-error "out of bounds" "out of bounds" } + END + |