1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Test handling of ARRAY_REF when the component type is of unknown size.

llvm-svn: 35176
This commit is contained in:
Duncan Sands 2007-03-19 19:56:18 +00:00
parent 35ebf3dffc
commit 12e31a7121

View File

@ -0,0 +1,11 @@
-- 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;