URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [elemental_result_1.f90] - Rev 816
Compare with Previous | Blame | View Log
! { dg-do compile }! Tests the fix for PR20874 in which array valued elemental! functions were permitted.!! Contributed by Joost VandeVondele <jv244@cam.ac.uk>!MODULE TestCONTAINSELEMENTAL FUNCTION LL(I) ! { dg-error "must have a scalar result" }INTEGER, INTENT(IN) :: IINTEGER :: LL(2)END FUNCTION LL!! This was already OK.!ELEMENTAL FUNCTION MM(I)INTEGER, INTENT(IN) :: IINTEGER, pointer :: MM ! { dg-error "conflicts with ELEMENTAL" }END FUNCTION MMEND MODULE Test
