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/] [contained2.f90] - Rev 303
Compare with Previous | Blame | View Log
! Program to check resolution of symbols with the same nameprogram contained2implicit noneinteger var1var1 = 42if (f1() .ne. 1) call abortcall f2()if (var1 .ne. 42) call abortcontainsfunction f1 ()implicit noneinteger f1integer var1integer f2var1 = 1f2 = var1f1 = f2end functionsubroutine f2()implicit noneif (f1() .ne. 1) call abortend subroutineend program
