Skip to content

Commit

Permalink
add one more test for mul
Browse files Browse the repository at this point in the history
  • Loading branch information
spiral-ladder committed Nov 30, 2023
1 parent a0cb4f8 commit 5d93208
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/cases/arithmetic overflow.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ _Static_assert(1 + 0xFFFFFFFF == 0, "'");
_Static_assert(0 - 0x00000001 == 0xFFFFFFFF, "'");
_Static_assert(0x00000000 - 0x00000001 == 0xFFFFFFFF, "'");
_Static_assert(0x80000000 * 2 == 0, "'");
_Static_assert(2 * 0x80000000 == 0, "'");

0 comments on commit 5d93208

Please sign in to comment.