13 lines · c
1// RUN: %clang_cc1 -triple x86_64-apple-darwin -verify %s2 3void f(void) {4 int a[2147483647U][2147483647U]; // expected-error{{array is too large}}5 int b[1073741825U - 1U][2147483647U]; // expected-error{{array is too large}}6}7 8void pr8256(void) {9 typedef char a[1LL<<61]; // expected-error {{array is too large}}10 typedef char b[(long long)sizeof(a)-1];11}12 13