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

10 lines
189 B
Ada
Raw Normal View History

-- RUN: %llvmgcc -c %s
2007-04-04 05:46:22 +08:00
procedure VCE_LV is
type P is access String ;
type T is new P (5 .. 7);
subtype U is String (5 .. 7);
X : T := new U'(others => 'A');
begin
null;
end;