Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/public_private_module_4.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 { target skip-all-targets } } ! ! To be used by public_private_module_3.f90 ! ! PR fortran/52916 ! Cf. PR fortran/40973 ! ! Ensure that PRIVATE specific functions do not get ! marked as TREE_PUBLIC() = 0, if the generic name is ! PUBLIC. ! use m use m2 implicit none type(t) :: a, b, c type(t2) :: x call gen() a = b + (c .myop. a) call x%func() end