Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/bind_c_implicit_vars.f03 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! { dg-options "-Wc-binding-type" } module bind_c_implicit_vars bind(c) :: j ! { dg-warning "may not be C interoperable" } contains subroutine sub0(i) bind(c) ! { dg-warning "may not be C interoperable" } i = 0 end subroutine sub0 end module bind_c_implicit_vars