mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Test that a VIEW_CONVERT_EXPR used as an lvalue has the right type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35387 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d4eeb80043
commit
054fa8fddb
9
test/AdaFrontend/vce_lv.adb
Normal file
9
test/AdaFrontend/vce_lv.adb
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user