r183614 was failing because va_list on some platforms is defined in a
similar manner. This test fails on Windows with r183614 applied.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183617
91177308-0d34-0410-b5e6-
96231b3b80d8
void test5(void) {
test5_helper(^(int n, int array[n]) {});
}
+
+// Reduced from a problem on platforms where va_list is an array.
+struct tag {
+ int x;
+};
+typedef struct tag array_ty[1];
+void test6(void) {
+ void (^block)(array_ty) = ^(array_ty arr) { };
+ array_ty arr;
+ block(arr);
+}