diff --git a/test/AdaFrontend/vce_lv.adb b/test/AdaFrontend/vce_lv.adb new file mode 100644 index 00000000000..5242b157586 --- /dev/null +++ b/test/AdaFrontend/vce_lv.adb @@ -0,0 +1,9 @@ +-- RUN: %llvmgcc -c %s -o /dev/null +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;