Index: gcc/gcc/testsuite/gfortran.dg/typebound_proc_6.f03 |
diff --git a/gcc/gcc/testsuite/gfortran.dg/typebound_proc_6.f03 b/gcc/gcc/testsuite/gfortran.dg/typebound_proc_6.f03 |
index e7d09a055f47ef8e830cc40f32d6ad4ef7ef2dae..83765bf3009d618b7775bfba7af68467944bd494 100644 |
--- a/gcc/gcc/testsuite/gfortran.dg/typebound_proc_6.f03 |
+++ b/gcc/gcc/testsuite/gfortran.dg/typebound_proc_6.f03 |
@@ -1,8 +1,5 @@ |
! { dg-do compile } |
-! FIXME: Remove -w after polymorphic entities are supported. |
-! { dg-options "-w" } |
- |
! Type-bound procedures |
! Test for the check if overriding methods "match" the overridden ones by their |
! characteristics. |
@@ -134,47 +131,47 @@ CONTAINS |
SUBROUTINE proc_stme1 (me, a) |
IMPLICIT NONE |
- TYPE(supert) :: me |
+ CLASS(supert) :: me |
INTEGER :: a |
END SUBROUTINE proc_stme1 |
SUBROUTINE proc_tme1 (me, a) |
IMPLICIT NONE |
- TYPE(t) :: me |
+ CLASS(t) :: me |
INTEGER :: a |
END SUBROUTINE proc_tme1 |
SUBROUTINE proc_stmeme (me1, me2) |
IMPLICIT NONE |
- TYPE(supert) :: me1, me2 |
+ CLASS(supert) :: me1, me2 |
END SUBROUTINE proc_stmeme |
SUBROUTINE proc_tmeme (me1, me2) |
IMPLICIT NONE |
- TYPE(t) :: me1, me2 |
+ CLASS(t) :: me1, me2 |
END SUBROUTINE proc_tmeme |
SUBROUTINE proc_stmeint (me, a) |
IMPLICIT NONE |
- TYPE(supert) :: me |
+ CLASS(supert) :: me |
INTEGER :: a |
END SUBROUTINE proc_stmeint |
SUBROUTINE proc_tmeint (me, a) |
IMPLICIT NONE |
- TYPE(t) :: me |
+ CLASS(t) :: me |
INTEGER :: a |
END SUBROUTINE proc_tmeint |
SUBROUTINE proc_tmeintx (me, x) |
IMPLICIT NONE |
- TYPE(t) :: me |
+ CLASS(t) :: me |
INTEGER :: x |
END SUBROUTINE proc_tmeintx |
SUBROUTINE proc_tmereal (me, a) |
IMPLICIT NONE |
- TYPE(t) :: me |
+ CLASS(t) :: me |
REAL :: a |
END SUBROUTINE proc_tmereal |