mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
dev backend unsigned multiply: round 2
This commit is contained in:
parent
3f6f070042
commit
2a302cfc46
4 changed files with 30 additions and 11 deletions
|
@ -1124,7 +1124,7 @@ fn gen_mul_quadword_and_lower() {
|
|||
assert_evals_to!("2i8 * 4 * 6", 48, i8);
|
||||
|
||||
// make sure we're doing unsigned multiplication for unsigned types
|
||||
// assert_evals_to!("255u8 * 255", 255u8.wrapping_add(255), u8);
|
||||
assert_evals_to!("123 * 456", 123 * 456, u64);
|
||||
|
||||
// assert_evals_to!("2u64 * 4 * 6", 48, u64);
|
||||
// assert_evals_to!("2u32 * 4 * 6", 48, u32);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue