d: Merge upstream dmd 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git] / gcc / testsuite / gdc.test / compilable / test1878a.d
blob6c8fb6b628ce4db4023ae1f2a5e2252698599168
1 void main()
3 ubyte from, to;
4 foreach(i; from..to)
6 static assert(is(typeof(i) == ubyte));
8 foreach(i; 'a'..'l')
10 static assert(is(typeof(i) == char));
12 foreach(i; 'א' .. 'ת')
14 static assert(is(typeof(i) == wchar));