mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-14 09:25:25 +00:00
Test that ARRAY_RANGE_REF returns an array not an element.
llvm-svn: 35209
This commit is contained in:
parent
0176b9859d
commit
0ea571dda0
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