Test that ARRAY_RANGE_REF returns an array not an element.

llvm-svn: 35209
This commit is contained in:
Duncan Sands 2007-03-20 09:50:42 +00:00
parent 0176b9859d
commit 0ea571dda0

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;