Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/extends_12.f03 @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! ! PR 48706: Type extension inside subroutine ! ! Contributed by Tobias Burnus <burnus@gcc.gnu.org> module mod_diff_01 implicit none type :: foo end type contains subroutine create_ext type, extends(foo) :: foo_e end type end subroutine end module program diff_01 use mod_diff_01 implicit none call create_ext() end program