summaryrefslogtreecommitdiff
path: root/test/test2darray.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/test2darray.ll')
-rw-r--r--test/test2darray.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test2darray.ll b/test/test2darray.ll
new file mode 100644
index 0000000000..123d26c136
--- /dev/null
+++ b/test/test2darray.ll
@@ -0,0 +1,10 @@
+implementation
+
+[[2 x int]] "test function"(int %i0, int %j0)
+ %array = [[2 x int]] [
+ [2 x int] [ int 12, int 52 ]
+ ]
+begin
+ ret [[2x int]] %array
+end
+