Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/dummy_procedure_5.f90 @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! ! PR 50517: gfortran must detect that actual argument type is different from dummy argument type (r178939) ! ! Contributed by Vittorio Zecca <zeccav@gmail.com> program main type t integer g end type type u integer g end type type(u), external :: ufunc call sub(ufunc) ! { dg-error "Type mismatch in function result" } contains subroutine sub(tfunc) type(t), external :: tfunc end subroutine end program