mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-12 17:37:13 +00:00
Test support for arrays with non-zero first index.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35084 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b2ec1cc6cb
commit
56eef22a07
6
test/AdaFrontend/array_constructor.adb
Normal file
6
test/AdaFrontend/array_constructor.adb
Normal file
@ -0,0 +1,6 @@
|
||||
-- RUN: %llvmgcc -c %s -o /dev/null
|
||||
procedure Array_Constructor is
|
||||
A : array (Integer range <>) of Boolean := (True, False);
|
||||
begin
|
||||
null;
|
||||
end;
|
10
test/AdaFrontend/array_size.adb
Normal file
10
test/AdaFrontend/array_size.adb
Normal file
@ -0,0 +1,10 @@
|
||||
-- RUN: %llvmgcc -c %s -o /dev/null
|
||||
procedure Array_Size is
|
||||
subtype S is String (1 .. 2);
|
||||
type R is record
|
||||
A : S;
|
||||
end record;
|
||||
X : R;
|
||||
begin
|
||||
null;
|
||||
end;
|
Loading…
x
Reference in New Issue
Block a user