Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/proc_ptr_37.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 51081: [F03] Proc-pointer assignment: Rejects valid internal proc ! ! Contributed by Tobias Burnus <burnus@gcc.gnu.org> procedure(), pointer :: p1 procedure(real), pointer :: p2 p1 => int2 p2 => scale ! { dg-error "is invalid in procedure pointer assignment" } contains subroutine int2() print *,"..." end subroutine end