diff options
author | Dave Love <fx@gcc.gnu.org> | 1998-05-15 06:23:01 +0000 |
---|---|---|
committer | Dave Love <fx@gcc.gnu.org> | 1998-05-15 06:23:01 +0000 |
commit | 8ebe42f1e42893559ba7403f9d9f8001dae658cc (patch) | |
tree | fac15bc594de351fd254ba51aa050c1b7a7e43ee | |
parent | 4ee383a75f65544b06f4bbb9f787dd586d8e0e5c (diff) | |
download | gcc-8ebe42f1e42893559ba7403f9d9f8001dae658cc.zip gcc-8ebe42f1e42893559ba7403f9d9f8001dae658cc.tar.gz gcc-8ebe42f1e42893559ba7403f9d9f8001dae658cc.tar.bz2 |
New file.
From-SVN: r19774
-rw-r--r-- | gcc/testsuite/g77.f-torture/noncompile/check0.f | 11 | ||||
-rw-r--r-- | gcc/testsuite/g77.f-torture/noncompile/noncompile.exp | 39 |
2 files changed, 50 insertions, 0 deletions
diff --git a/gcc/testsuite/g77.f-torture/noncompile/check0.f b/gcc/testsuite/g77.f-torture/noncompile/check0.f new file mode 100644 index 0000000..fc3c6ca --- /dev/null +++ b/gcc/testsuite/g77.f-torture/noncompile/check0.f @@ -0,0 +1,11 @@ +CCC Abort fixed by: +CCC1998-04-21 Jim Wilson <wilson@cygnus.com> +CCC +CCC * stmt.c (check_seenlabel): When search for line number note for +CCC warning, handle case where there is no such note. + logical l(10) + integer i(10) + goto (10,20),l + goto (10,20),i + 10 stop + 20 end diff --git a/gcc/testsuite/g77.f-torture/noncompile/noncompile.exp b/gcc/testsuite/g77.f-torture/noncompile/noncompile.exp new file mode 100644 index 0000000..7087aa2 --- /dev/null +++ b/gcc/testsuite/g77.f-torture/noncompile/noncompile.exp @@ -0,0 +1,39 @@ +# Copyright (C) 1988, 90, 91, 92, 97, 1998 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +# Please email any bugs, comments, and/or additions to this file to: +# bug-gcc@prep.ai.mit.edu + +# This file was written by Jeff Law. (law@cs.utah.edu) + +# +# These tests come from Torbjorn Granlund (tege@cygnus.com) +# C torture test suite. +# + +load_lib mike-g77.exp + +# Test check0.f +prebase + +set src_code check0.f +# Not really sure what the error should be here... +set compiler_output ".*:8.*:9" + +set groups {passed gcc-noncompile} + +postbase $src_code $run $groups + |