Douglas Gregor | 2767ce2 | 2010-08-18 00:39:00 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -triple x86_64-apple-darwin -verify %s |
2 | |||||
3 | void f() { | ||||
4 | int a[2147483647U][2147483647U]; // expected-error{{array is too large}} | ||||
5 | int b[1073741825U - 1U][2147483647U]; | ||||
6 | int c[18446744073709551615U/sizeof(int)/2]; | ||||
7 | } |