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:
868cdb2
)
Test handling of ARRAY_REF when the component type is of unknown size.
author
Duncan Sands
<baldrick@free.fr>
Mon, 19 Mar 2007 19:56:18 +0000
(19:56 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Mon, 19 Mar 2007 19:56:18 +0000
(19:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35176
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/AdaFrontend/array_ref.adb
[new file with mode: 0644]
patch
|
blob
diff --git a/test/AdaFrontend/array_ref.adb
b/test/AdaFrontend/array_ref.adb
new file mode 100644
(file)
index 0000000..
093233a
--- /dev/null
+++ b/
test/AdaFrontend/array_ref.adb
@@ -0,0
+1,11
@@
+-- RUN: %llvmgcc -c %s -o /dev/null
+procedure Array_Ref is
+ type A is array (Natural range <>, Natural range <>) of Boolean;
+ type A_Access is access A;
+ function Get (X : A_Access) return Boolean is
+ begin
+ return X (0, 0);
+ end;
+begin
+ null;
+end;