llvm-project/llvm/test/FrontendAda/array_range_ref.adb

8 lines
134 B
Ada
Raw Normal View History

-- RUN: %llvmgcc -c %s
2007-04-04 05:46:22 +08:00
procedure Array_Range_Ref is
A : String (1 .. 3);
B : String := A (A'RANGE)(1 .. 3);
begin
null;
end;