New file.
From-SVN: r19774
This commit is contained in:
parent
4ee383a75f
commit
8ebe42f1e4
11
gcc/testsuite/g77.f-torture/noncompile/check0.f
Normal file
11
gcc/testsuite/g77.f-torture/noncompile/check0.f
Normal file
@ -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
|
39
gcc/testsuite/g77.f-torture/noncompile/noncompile.exp
Normal file
39
gcc/testsuite/g77.f-torture/noncompile/noncompile.exp
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user