URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [func_result_1.f90] - Rev 816
Compare with Previous | Blame | View Log
! { dg-do run }! From PR 19673 : We didn't dereference the the result from POINTER! functions with a RESULT clauseprogram ret_ptrif (foo(99) /= bar(99)) call abort ()containsfunction foo (arg) result(ptr)integer :: arginteger, pointer :: ptrallocate (ptr)ptr = argend function foofunction bar (arg)integer :: arginteger, pointer :: barallocate (bar)bar = argend function barend program ret_ptr
