URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [func_result_2.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do run }
! Character functions with a result clause were broken
program testch
if (ch().ne."hello ") call abort()
contains
function ch () result(str)
character(len = 10) :: str
str ="hello"
end function ch
end program testch