Sign in
ara-mdk
/
platform
/
external
/
clang
/
f72663fc962c1c27a4793ebd3d2e3d81a4f4e984
/
.
/
test
/
Sema
/
array-size-64.c
blob: f22e8e77d2151eb1f446151cd99ddfaa191dfe04 [
file
] [
log
] [
blame
]
// 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
];
}