Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/pr69603.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 } ! { dg-options "-fimplicit-none" } ! PR fortran/69603 - segfault with -fimplicit-none and proc_ptr_comp_24.f90 ! Based on reduced testcase by Dominique d'Humieres PROGRAM prog implicit none TYPE object PROCEDURE(), POINTER, NOPASS :: f END TYPE object TYPE (object) :: o1 CALL set_func(o1%f) CONTAINS SUBROUTINE set_func(f) PROCEDURE(), POINTER :: f END SUBROUTINE set_func END PROGRAM prog