OSDN Git Service

* gfortran.dg/isnan_1.f90: Add -mieee for sh.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / defined_operators_1.f90
index f7688b8..0233bf0 100644 (file)
@@ -11,7 +11,7 @@ module mymod
      module procedure foo_1 ! { dg-error "must be INTENT" }
      module procedure foo_2 ! { dg-error "cannot be optional" }
      module procedure foo_3 ! { dg-error "must have, at most, two arguments" }
-     module procedure foo_1_OK
+     module procedure foo_1_OK  ! { dg-error "Ambiguous interfaces" }
      module procedure foo_2_OK
      function foo_chr (chr) ! { dg-error "cannot be assumed character length" }
        character(*) :: foo_chr
@@ -54,3 +54,4 @@ contains
     foo_3 = a + 3 * b - c
   end function foo_3
 end module mymod
+! { dg-final { cleanup-modules "mymod" } }