blob: 7ed8f134c97356fb40c5933bb46e47481e79a17b [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail287.d(14): Error: had 299 cases which is more than 256 cases in case range
---
*/
void main()
{
int i = 2;
switch (i)
{
case 1: .. case 300:
i = 5;
break;
}
if (i != 5)
assert(0);
}