1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/FrontendAda/array_ref.adb

12 lines
253 B
Ada
Raw Normal View History

-- RUN: %llvmgcc -c %s
2007-04-03 23:46:22 +02:00
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;