Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/class_result_3.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 78300: [OOP] Failure to compile a F03 code with an optional dummy procedure argument ! ! Contributed by DIL <liakhdi@ornl.gov> implicit none type gfc_cont_elem_t end type contains function gfc_copy_i() result(clone) class(gfc_cont_elem_t), pointer:: clone end subroutine ContElemConstruct(copy_constr_func) procedure(gfc_copy_i) :: copy_constr_func end end