Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag10221a.d
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
)
{}
}