1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/FrontendAda/array_ref.adb
Chris Lattner 3888505be5 move ada tests
llvm-svn: 35629
2007-04-03 21:46:22 +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;