blob: 32b1f07d90256e488c805cb5912611284fcf88c0 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/diag10221a.d(10): Error: cannot implicitly convert expression `257` of type `int` to `ubyte`
---
*/
void main()
{
foreach(ubyte i; 0..257) {}
}