Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Sema / array-size-64.c
blob3e6339bd6a640ba9d1a540447a1c8c0983afb77c
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -verify %s
3 void 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}}
8 void pr8256(void) {
9 typedef char a[1LL<<61]; // expected-error {{array is too large}}
10 typedef char b[(long long)sizeof(a)-1];