mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
Test handling of ARRAY_REF when the component type is of unknown size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
868cdb2248
commit
3718050bb5
11
test/AdaFrontend/array_ref.adb
Normal file
11
test/AdaFrontend/array_ref.adb
Normal 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;
|
Loading…
x
Reference in New Issue
Block a user