llvm-6502/test/AdaFrontend/vce.adb
Duncan Sands edd174bcca 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
2007-03-14 20:24:53 +00:00

8 lines
127 B
Ada

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