Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/class_24.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 44869: [OOP] Missing TARGET check - and wrong code or accepts-invalid? ! ! Contributed by Satish.BD <bdsatish@gmail.com> type :: test_case end type type :: test_suite type(test_case) :: list end type contains subroutine sub(self) class(test_suite), intent(inout) :: self type(test_case), pointer :: tst_case tst_case => self%list ! { dg-error "is neither TARGET nor POINTER" } end subroutine end