YouCompleteMe/cpp/llvm/tools/clang/test/Sema/array-size-64.c
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

8 lines
233 B
C

// RUN: %clang_cc1 -triple x86_64-apple-darwin -verify %s
void f() {
int a[2147483647U][2147483647U]; // expected-error{{array is too large}}
int b[1073741825U - 1U][2147483647U];
int c[18446744073709551615U/sizeof(int)/2];
}