From edd174bcca7ded13835bc622b01ff1380cbc4dea Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Wed, 14 Mar 2007 20:24:53 +0000 Subject: [PATCH] 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 --- test/AdaFrontend/vce.adb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/AdaFrontend/vce.adb 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; -- 2.34.1