2 ! { dg-options "-std=f2003" }
4 ! TARGET actual to POINTER dummy with INTENT(IN)
10 call foo(a
) ! { dg-error "Fortran 2008: Non-pointer actual argument" }
11 if (a
/= 647) call abort()
14 integer, pointer, intent(in
) :: p
15 if (a
/= 66) call abort()
16 if (p
/= 66) call abort()
18 if (p
/= 647) call abort()
19 if (a
/= 647) call abort()