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

8 lines
134 B
Ada

-- RUN: %llvmgcc -c %s
procedure Array_Range_Ref is
A : String (1 .. 3);
B : String := A (A'RANGE)(1 .. 3);
begin
null;
end;