Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/binding_label_tests_23.f90 @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children | 84e7813d76e9 |
line wrap: on
line source
! { dg-do run } ! ! PR fortran/48858 ! integer function foo(x) integer :: x call abort() foo = 99 end function foo integer function other() bind(C, name="bar") other = 42 end function other program test interface integer function foo() bind(C, name="bar") end function foo end interface if (foo() /= 42) call abort() ! Ensure that the binding name is all what counts end program test