Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail4611.d
blob: 02fcc2ebb6fd5f9d8dfa9ee262e98a902bc65be4 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail4611.d(15): Error: Vec[2147483647] size 4 * 2147483647 exceeds 0x7fffffff size limit for static array
---
*/
struct
Vec
{
int
x
;
}
void
main
()
{
Vec
[
ptrdiff_t
.
max
]
a
;
}