Test that the size of a view converted object is determined by the target

type, not the source type.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35106 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2007-03-14 20:24:53 +00:00
parent e70ef98043
commit edd174bcca

7
test/AdaFrontend/vce.adb Normal file
View File

@ -0,0 +1,7 @@
-- RUN: %llvmgcc -c %s -o /dev/null
procedure VCE is
S : String (1 .. 2);
B : Character := 'B';
begin
S := 'A' & B;
end;