Re-add a slightly more general version of the check from r72578; it is 
actually necessary in some obscure cases.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72585 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/vla.c b/test/CodeGen/vla.c
index 3666d5e..844e49e 100644
--- a/test/CodeGen/vla.c
+++ b/test/CodeGen/vla.c
@@ -29,3 +29,9 @@
   if (a[0] != 3) {
   }
 }
+
+void g(int count) {
+  // Make sure we emit sizes correctly in some obscure cases
+  int (*a[5])[count];
+  int (*b)[][count];
+}