mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 21:34:23 +00:00
Test that ARRAY_RANGE_REF returns an array not an element.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35209 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2638e1a6b9
commit
887839d755
7
test/AdaFrontend/array_range_ref.adb
Normal file
7
test/AdaFrontend/array_range_ref.adb
Normal file
@ -0,0 +1,7 @@
|
||||
-- RUN: %llvmgcc -c %s -o /dev/null
|
||||
procedure Array_Range_Ref is
|
||||
A : String (1 .. 3);
|
||||
B : String := A (A'RANGE)(1 .. 3);
|
||||
begin
|
||||
null;
|
||||
end;
|
Loading…
x
Reference in New Issue
Block a user