(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
compilable/
test1878a.d
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));
  }
}