URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [global_vars_c_init.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do run }! { dg-additional-sources global_vars_c_init_driver.c }module global_vars_c_inituse, intrinsic :: iso_c_binding, only: c_intimplicit noneinteger(c_int), bind(c, name='i') :: Icontainssubroutine test_globals() bind(c)! the value of I is initialized aboveif(I .ne. 2) thencall abort()endifend subroutine test_globalsend module global_vars_c_init! { dg-final { cleanup-modules "global_vars_c_init" } }
