C
gcc 10.1.0
$ gcc prog.c -Wall -Wextra -std=gnu11
prog.c: In function 'main': prog.c:5:35: warning: integer overflow in expression of type 'int' results in '1874919424' [-Woverflow] 5 | printf("%ld\n", (long)(100000000 * 100000000)); /* オーバーフローします */ | ^ 1874919424 10000000000000000
prog.c: In function 'main': prog.c:5:35: warning: integer overflow in expression of type 'int' results in '1874919424' [-Woverflow] 5 | printf("%ld\n", (long)(100000000 * 100000000)); /* オーバーフローします */ | ^
1874919424 10000000000000000