PR1893: Fix up the type of tentative definitions of incomplete array 
types so that they end up the correct size.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51787 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/tentative-array.c b/test/CodeGen/tentative-array.c
new file mode 100644
index 0000000..7123123
--- /dev/null
+++ b/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;