URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [common_init_1.f90] - Rev 378
Go to most recent revision | Compare with Previous | Blame | View Log
! Program to test initialization of common blocks.subroutine test()character(len=15) :: cinteger d, ereal fcommon /block2/ ccommon /block/ d, e, fif ((d .ne. 42) .or. (e .ne. 43) .or. (f .ne. 2.0)) call abort ()if (c .ne. "Hello World ") call abort ()end subroutineprogram proginteger a(2)real bcharacter(len=15) :: scommon /block/ a, bcommon /block2/ sdata b, a/2.0, 42, 43/data s /"Hello World"/call test ()end program
Go to most recent revision | Compare with Previous | Blame | View Log
