2 ! Tests the fix for pr20875.
3 ! Note 12.7.1 "For a function, the result shall be scalar and shall not have the POINTER attribute."
6 ELEMENTAL FUNCTION LL(I)
7 INTEGER, INTENT(IN) :: I
9 POINTER :: LL ! { dg-error " POINTER attribute conflicts with ELEMENTAL attribute" }
13 ! { dg-final { cleanup-modules "Test" } }