Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/der_pointer_2.f90 @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children | 84e7813d76e9 |
line wrap: on
line source
! { dg-do compile } ! PR 15975, PR 16606 ! Pointers to derived types with initialized components ! ! Contributed by Erik Edelmann <erik.edelmann@iki.fi> ! SUBROUTINE N TYPE T INTEGER :: I = 99 END TYPE T TYPE(T), POINTER :: P TYPE(T), TARGET :: Q P => Q if (P%I.ne.99) call abort () END SUBROUTINE N program test_pr15975 call n () end program test_pr15975