-- { dg-do run }procedureArray12isfunctionNreturnIntegerisbeginreturn0;end;subtypeElementisString(1..N);typePtrisaccessallElement;typeVectorisarray(Positiverange<>)ofaliasedElement;V:Vector(1..2);beginifPtr'(V(1)'Access)=V(2)'AccessthenraiseProgram_Error;endif;end;