projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4eeb80
)
Test that a VIEW_CONVERT_EXPR used as an lvalue has the right type.
author
Duncan Sands
<baldrick@free.fr>
Tue, 27 Mar 2007 20:27:25 +0000
(20:27 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Tue, 27 Mar 2007 20:27:25 +0000
(20:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35387
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/AdaFrontend/vce_lv.adb
[new file with mode: 0644]
patch
|
blob
diff --git a/test/AdaFrontend/vce_lv.adb
b/test/AdaFrontend/vce_lv.adb
new file mode 100644
(file)
index 0000000..
5242b15
--- /dev/null
+++ b/
test/AdaFrontend/vce_lv.adb
@@ -0,0
+1,9
@@
+-- RUN: %llvmgcc -c %s -o /dev/null
+procedure VCE_LV is
+ type P is access String ;
+ type T is new P (5 .. 7);
+ subtype U is String (5 .. 7);
+ X : T := new U'(others => 'A');
+begin
+ null;
+end;