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:
Duncan Sands 2007-03-27 20:27:25 +00:00
parent d4eeb80043
commit 054fa8fddb

View 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;