Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/function_types_3.f90 @ 128:fe568345ddd5
fix CbC-example
author | mir3636 |
---|---|
date | Wed, 11 Apr 2018 19:32:28 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! ! Contributed by Vittorio Zecca <zeccav@gmail.com> ! ! PR 50401: SIGSEGV in resolve_transfer interface function f() ! { dg-error "must be a dummy argument|Interface mismatch in global procedure" } dimension f(*) end function end interface print *,f() end ! PR 50403: SIGSEGV in gfc_use_derived type(f) function f() ! { dg-error "Type name 'f' at .1. conflicts with previously declared entity|The type for function 'f' at .1. is not accessible" } f=110 ! { dg-error "Type inaccessible in variable definition context" } end