2 ! { dg-options "-std=f2003" }
5 ! Check for F2008 rejection of rank remapping to rank-two base array.
7 ! Contributed by Daniel Kraft, d@domob.eu.
11 INTEGER, TARGET :: arr(12), basem(3, 4)
12 INTEGER, POINTER :: vec(:), mat(:, :)
19 vec(1:12) => basem ! { dg-error "Fortran 2008" }