Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/function_kinds_2.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
! Tests the fix for PR33334, in which the TYPE in the function ! declaration cannot be legally accessed. ! ! Contributed by Tobias Burnus <burnus@gcc.gnu.org> ! module types implicit none type t integer :: i = 99 end type t end module module x use types interface type(t) function bar() ! { dg-error "is not accessible" } end function end interface end module