annotate gcc/testsuite/gfortran.dg/finalize_22.f90 @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do compile }
kono
parents:
diff changeset
2 !
kono
parents:
diff changeset
3 ! PR 58470: [4.9 Regression] [OOP] ICE on invalid with FINAL procedure and type extension
kono
parents:
diff changeset
4 !
kono
parents:
diff changeset
5 ! Contributed by Andrew Benson <abensonca@gmail.com>
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 module cf
kono
parents:
diff changeset
8 type :: cfml
kono
parents:
diff changeset
9 contains
kono
parents:
diff changeset
10 final :: mld
kono
parents:
diff changeset
11 end type cfml
kono
parents:
diff changeset
12 type, extends(cfml) :: cfmde
kono
parents:
diff changeset
13 end type cfmde
kono
parents:
diff changeset
14 contains
kono
parents:
diff changeset
15 subroutine mld(s) ! { dg-error "must be of type" }
kono
parents:
diff changeset
16 class(cfml), intent(inout) :: s
kono
parents:
diff changeset
17 end subroutine mld
kono
parents:
diff changeset
18 end module cf