Skip to content

Commit

Permalink
Update test_fold_bit_shifts
Browse files Browse the repository at this point in the history
  • Loading branch information
levi-nz committed Jul 16, 2024
1 parent 24e612e commit 1790d52
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -747,9 +747,9 @@ fn test_fold_bit_shifts() {

fold("x = 0xffffffff << 0", "x = -1");
fold("x = 0xffffffff << 4", "x = -16");
fold_same("1 << 32");
fold_same("1 << -1");
fold_same("1 >> 32");
fold("1 << 32", "1");
fold("1 << -1", "-2147483648");
fold("1 >> 32", "1");
}

#[test]
Expand Down

0 comments on commit 1790d52

Please sign in to comment.