URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [elemental_pointer_1.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }! Tests the fix for pr20875.! Note 12.7.1 "For a function, the result shall be scalar and shall not have the POINTER attribute."MODULE TestCONTAINSELEMENTAL FUNCTION LL(I)INTEGER, INTENT(IN) :: IINTEGER :: LLPOINTER :: LL ! { dg-error " POINTER attribute conflicts with ELEMENTAL attribute" }END FUNCTION LLEND MODULE Test! { dg-final { cleanup-modules "test" } }
