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:
Duncan Sands 2007-03-20 09:50:42 +00:00
parent 2638e1a6b9
commit 887839d755

View 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;