Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/finalize_22.f90 @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 ! { dg-do compile } |
2 ! | |
3 ! PR 58470: [4.9 Regression] [OOP] ICE on invalid with FINAL procedure and type extension | |
4 ! | |
5 ! Contributed by Andrew Benson <abensonca@gmail.com> | |
6 | |
7 module cf | |
8 type :: cfml | |
9 contains | |
10 final :: mld | |
11 end type cfml | |
12 type, extends(cfml) :: cfmde | |
13 end type cfmde | |
14 contains | |
15 subroutine mld(s) ! { dg-error "must be of type" } | |
16 class(cfml), intent(inout) :: s | |
17 end subroutine mld | |
18 end module cf |