Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/warn_unused_function.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 } ! { dg-options "-Wunused-function" } ! ! PR 54224: [4.8 Regression] Bogus -Wunused-function warning with static function ! ! Contributed by Tobias Burnus <burnus@gcc.gnu.org> module mod_say_hello private :: hello_integer contains subroutine say_hello() call hello_integer(123) end subroutine subroutine hello_integer( a ) integer, intent(in) :: a print *, "Hello ", a, "!" end subroutine end module