Test that a VIEW_CONVERT_EXPR used as an lvalue has the right type.

llvm-svn: 35387
This commit is contained in:
Duncan Sands 2007-03-27 20:27:25 +00:00
parent ce43379aac
commit 62574103d1
1 changed files with 9 additions and 0 deletions

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;