URL
                    https://opencores.org/ocsvn/openrisc/openrisc/trunk
                
            Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [st_function_2.f90] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
! PR15620! Check that evaluating a statement function doesn't affect the value of! its dummy argument variables.program st_function_2integer fn, a, bfn(a, b) = a + bif (foo(1) .ne. 43) call abort! Check that values aren't modified when avaluating the arguments.a = 1b = 5if (fn (b + 2, a + 3) .ne. 11) call abortcontainsfunction foo (x)integer z, y, foo, xbar(z) = z*zz = 42t = bar(x)foo = t + zend functionend program
Go to most recent revision | Compare with Previous | Blame | View Log

