Test that the size of a view converted object is determined by the target
authorDuncan Sands <baldrick@free.fr>
Wed, 14 Mar 2007 20:24:53 +0000 (20:24 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 14 Mar 2007 20:24:53 +0000 (20:24 +0000)
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 [new file with mode: 0644]

diff --git a/test/AdaFrontend/vce.adb b/test/AdaFrontend/vce.adb
new file mode 100644 (file)
index 0000000..3d783d0
--- /dev/null
@@ -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;