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