Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail9572.d
blob: 75b42349916d9c90bccb9b652850c7348ab9b979 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail9572.d(10): Error: index type `ubyte` cannot cover index range 0..300
---
*/
void
main
()
{
int
[
300
]
data
;
foreach
(
ubyte i
,
x
;
data
)
{}
}