5 ! Check that the compiler knows that
6 ! "arg" and "arr" can alias.
10 INTEGER, TARGET
:: arr(3)
12 SUBROUTINE foobar (arg
)
13 INTEGER, TARGET
:: arg(:)
23 if (any (arr
/= (/ 1, 1, 2 /))) call abort()
27 INTEGER, TARGET
:: x(:)
34 INTEGER, TARGET
:: arr(3)
36 SUBROUTINE foobar (arg
)
37 INTEGER, TARGET
:: arg(:)
40 if (arr(1) == 5) call abort()
50 INTEGER, TARGET
:: x(:)