summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/tentative-array.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/tentative-array.c')
-rw-r--r--clang/test/CodeGen/tentative-array.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGen/tentative-array.c b/clang/test/CodeGen/tentative-array.c
new file mode 100644
index 00000000000..71231237faf
--- /dev/null
+++ b/clang/test/CodeGen/tentative-array.c
@@ -0,0 +1,4 @@
+// RUN: clang -emit-llvm < %s -triple=i686-apple-darwin9 | grep "global \[1 x i32\]"
+
+int r[];
+int (*a)[] = &r;
OpenPOWER on IntegriCloud