Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/typebound_generic_7.f03 @ 128:fe568345ddd5
fix CbC-example
author | mir3636 |
---|---|
date | Wed, 11 Apr 2018 19:32:28 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! ! PR 44434: [OOP] ICE in in gfc_add_component_ref ! ! Contributed by Salvatore Filippone <sfilippone@uniroma2.it> module foo_mod type foo contains procedure :: doit generic :: do => doit end type contains subroutine doit(a) class(foo) :: a end subroutine end module program testd15 contains subroutine dodo(x) use foo_mod class(foo) :: x call x%do() end subroutine end