Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/proc_decl_20.f90 @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! ! PR fortran/36463 ! Gfortran used to fail on this testcase with: ! gfc_get_default_type(): Bad symbol '@0' ! ! Original program by James Van Buskirk ! Reduced by Janus Weil <janus@gcc.gnu.org> module other_fun interface function abstract_fun(x) integer x integer abstract_fun(x) end function abstract_fun end interface end module other_fun program fptr use other_fun procedure(abstract_fun) :: fun end program fptr