1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -verify %s
2 
f()3 void f() {
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 
pr8256()8 void pr8256 () {
9   typedef char a[1LL<<61];  // expected-error {{array is too large}}
10   typedef char b[(long long)sizeof(a)-1];
11 }
12 
13