Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/select_type_22.f03 @ 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 47330: [OOP] ICE on invalid source in connection with SELECT TYPE ! ! Contributed by Andrew Benson <abenson@its.caltech.edu> type treeNode end type contains subroutine proc1 (thisNode) class (treeNode), target :: thisNode select type (thisNode) type is (treeNode) workNode => thisNode ! { dg-error "Non-POINTER in pointer association context" } end select end subroutine end