Source

gdc / gdc.test / fail_compilation / fail307.d

Full commit
1
2
3
4
5
6

void main()
{
  ubyte b = 6;
  short c5 = cast(int)(b + 6.1);
}