blob: 6c8fb6b628ce4db4023ae1f2a5e2252698599168 [file] [log] [blame]
void main()
{
ubyte from, to;
foreach(i; from..to)
{
static assert(is(typeof(i) == ubyte));
}
foreach(i; 'a'..'l')
{
static assert(is(typeof(i) == char));
}
foreach(i; 'א' .. 'ת')
{
static assert(is(typeof(i) == wchar));
}
}