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.dg/] [proc_ptr_18.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do run }!! PR 40176: Fortran 2003: Procedure pointers with array return value!! Original test case by Barron Bichon <barron.bichon@swri.org>! Modified by Janus Weil <janus@gcc.gnu.org>PROGRAM test_progPROCEDURE(triple), POINTER :: ff => tripleif (sum(f(2.,4.)-triple(2.,4.))>1E-3) call abort()CONTAINSFUNCTION triple(a,b) RESULT(tre)REAL, INTENT(in) :: a, bREAL :: tre(2)tre(1) = 3.*atre(2) = 3.*bEND FUNCTION tripleEND PROGRAM test_prog
