2 ! { dg-options "-std=f2008" }
10 integer, parameter :: n
= 7
13 integer, target
:: b(n
)
16 print *, sumf(a
) ! { dg-error "Actual argument for 'a' at .1. must be a pointer or a valid target" }
21 function sumf(a
) result(s
)
22 integer, pointer, intent(in
) :: a(:)