From: Duncan Sands Date: Wed, 14 Mar 2007 20:24:53 +0000 (+0000) Subject: Test that the size of a view converted object is determined by the target X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=edd174bcca7ded13835bc622b01ff1380cbc4dea;p=oota-llvm.git 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 --- diff --git a/test/AdaFrontend/vce.adb b/test/AdaFrontend/vce.adb new file mode 100644 index 00000000000..3d783d04572 --- /dev/null +++ b/test/AdaFrontend/vce.adb @@ -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;