Fix testsuite failure of import3.f90

Steve Kargl sgk@troutmask.apl.washington.edu
Wed Nov 15 21:35:00 GMT 2006


I've committed the following

2006-11-15  Steven G. Kargl  <kargl@gcc.gnu.org>

        * gfortran.dg/import3.f90: Fix error message.



Index: import3.f90
===================================================================
--- import3.f90	(revision 118865)
+++ import3.f90	(working copy)
@@ -24,7 +24,7 @@ program foo
   interface
     import ! { dg-error "only permitted in an INTERFACE body" }
     subroutine bar()
-      import foob ! { dg-error "Can not IMPORT 'foob' from host scoping unit" }
+      import foob ! { dg-error "Cannot IMPORT 'foob' from host scoping unit" }
     end subroutine bar
     subroutine test()
       import :: ! { dg-error "Expecting list of named entities" }
-- 
Steve



More information about the Gcc-patches mailing list