llvm-6502/test/AdaFrontend/array_ref.adb
2007-03-19 19:56:18 +00:00

12 lines
266 B
Ada

-- RUN: %llvmgcc -c %s -o /dev/null
procedure Array_Ref is
type A is array (Natural range <>, Natural range <>) of Boolean;
type A_Access is access A;
function Get (X : A_Access) return Boolean is
begin
return X (0, 0);
end;
begin
null;
end;