1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail298.d(12): Error: cannot implicitly convert expression `num1 / cast(ulong)num2` of type `ulong` to `int`
5 ---
6 */
7 
8 void main()
9 {
10     ulong num1 = 100;
11     int num2 = 10;
12     int result = num1 / num2;
13 }
14