X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgfortran.dg%2Ftypebound_operator_2.f03;h=cae2cdab71fec3406e6cddb69781359c30c66408;hp=b8dc5c9d1041e2b02ce68188aee2390db4a58fd0;hb=22c1d3019e6a942f8f11eb6cb3ec036343e8b6e3;hpb=0ed65c4e7ad8fa10688ee5cdc4d45190c4126257 diff --git a/gcc/testsuite/gfortran.dg/typebound_operator_2.f03 b/gcc/testsuite/gfortran.dg/typebound_operator_2.f03 index b8dc5c9d104..cae2cdab71f 100644 --- a/gcc/testsuite/gfortran.dg/typebound_operator_2.f03 +++ b/gcc/testsuite/gfortran.dg/typebound_operator_2.f03 @@ -14,7 +14,7 @@ MODULE m PROCEDURE, NOPASS :: nopassed => onearg PROCEDURE, PASS :: threearg PROCEDURE, PASS :: sub - PROCEDURE, PASS :: sub2 ! { dg-error "must be a FUNCTION" } + PROCEDURE, PASS :: sub2 PROCEDURE, PASS :: func ! These give errors at the targets' definitions. @@ -57,7 +57,7 @@ CONTAINS CLASS(t), INTENT(IN) :: a END SUBROUTINE sub - SUBROUTINE sub2 (a, x) + SUBROUTINE sub2 (a, x) ! { dg-error "must be a FUNCTION" } CLASS(t), INTENT(IN) :: a INTEGER, INTENT(IN) :: x END SUBROUTINE sub2