Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/proc_ptr_40.f90 @ 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 56261: [OOP] seg fault call procedure pointer on polymorphic array ! ! Contributed by Andrew Benson <abensonca@gmail.com> implicit none type :: nc end type external :: qq procedure( ), pointer :: f1 procedure(ff), pointer :: f2 f1 => ff ! { dg-error "Explicit interface required" } f2 => qq ! { dg-error "Explicit interface required" } contains subroutine ff (self) class(nc) :: self end subroutine end