2010-11-30 Tobias Burnus <burnus@net-b.de>
[official-gcc.git] / gcc / testsuite / gfortran.dg / bind_c_implicit_vars.f03
blobd6b4b6d617676ee803ec6b944e7d7b9a24ce356d
1 ! { dg-do compile }
2 module bind_c_implicit_vars
4 bind(c) :: j ! { dg-warning "may not be C interoperable" }
6 contains
7   subroutine sub0(i) bind(c) ! { dg-warning "may not be C interoperable" }
8     i = 0
9   end subroutine sub0
10 end module bind_c_implicit_vars
12 ! { dg-final { cleanup-modules "bind_c_implicit_vars" } }