Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: gcc/gcc/testsuite/gfortran.dg/typebound_proc_6.f03

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « gcc/gcc/testsuite/gfortran.dg/typebound_proc_5.f03 ('k') | gcc/gcc/testsuite/gfortran.dg/unf_short_record_1.f90 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698