blob: e25be8d0066f116b51a637b8bac55240b59e27f0 (
plain)
1
2
3
4
5
6
7
|
Test for overflow when negating the largest negative signed int.
If the test passes, you'll see a series of PASS messages below.
PASS: x should be 2147483648 and is.
PASS: y should be 2147483648 and is.
|