Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump: insta 1.12.0 #366

Merged
merged 1 commit into from
Feb 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/mun_codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ once_cell = "1.4.0"

[dev-dependencies]
abi = { path = "../mun_abi", package = "mun_abi" }
insta = "1.7.1"
insta = "1.12.0"
libloader = { path = "../mun_libloader", package = "mun_libloader" }
mun_test = { path = "../mun_test" }
runtime = { path = "../mun_runtime", package = "mun_runtime" }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn add(a: f32, b: f32) -> f32 { a + b }\n pub fn subtract(a: f32, b: f32) -> f32 { a - b }\n pub fn multiply(a: f32, b: f32) -> f32 { a * b }\n pub fn divide(a: f32, b: f32) -> f32 { a / b }\n pub fn remainder(a: f32, b: f32) -> f32 { a % b }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn add(a: f64, b: f64) -> f64 { a + b }\n pub fn subtract(a: f64, b: f64) -> f64 { a - b }\n pub fn multiply(a: f64, b: f64) -> f64 { a * b }\n pub fn divide(a: f64, b: f64) -> f64 { a / b }\n pub fn remainder(a: f64, b: f64) -> f64 { a % b }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn add(a: i128, b: i128) -> i128 { a + b }\n pub fn subtract(a: i128, b: i128) -> i128 { a - b }\n pub fn multiply(a: i128, b: i128) -> i128 { a * b }\n pub fn divide(a: i128, b: i128) -> i128 { a / b }\n pub fn remainder(a: i128, b: i128) -> i128 { a % b }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn add(a: i16, b: i16) -> i16 { a + b }\n pub fn subtract(a: i16, b: i16) -> i16 { a - b }\n pub fn multiply(a: i16, b: i16) -> i16 { a * b }\n pub fn divide(a: i16, b: i16) -> i16 { a / b }\n pub fn remainder(a: i16, b: i16) -> i16 { a % b }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn add(a: i32, b: i32) -> i32 { a + b }\n pub fn subtract(a: i32, b: i32) -> i32 { a - b }\n pub fn multiply(a: i32, b: i32) -> i32 { a * b }\n pub fn divide(a: i32, b: i32) -> i32 { a / b }\n pub fn remainder(a: i32, b: i32) -> i32 { a % b }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn add(a: i64, b: i64) -> i64 { a + b }\n pub fn subtract(a: i64, b: i64) -> i64 { a - b }\n pub fn multiply(a: i64, b: i64) -> i64 { a * b }\n pub fn divide(a: i64, b: i64) -> i64 { a / b }\n pub fn remainder(a: i64, b: i64) -> i64 { a % b }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn add(a: i8, b: i8) -> i8 { a + b }\n pub fn subtract(a: i8, b: i8) -> i8 { a - b }\n pub fn multiply(a: i8, b: i8) -> i8 { a * b }\n pub fn divide(a: i8, b: i8) -> i8 { a / b }\n pub fn remainder(a: i8, b: i8) -> i8 { a % b }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn add(a: u128, b: u128) -> u128 { a + b }\n pub fn subtract(a: u128, b: u128) -> u128 { a - b }\n pub fn multiply(a: u128, b: u128) -> u128 { a * b }\n pub fn divide(a: u128, b: u128) -> u128 { a / b }\n pub fn remainder(a: u128, b: u128) -> u128 { a % b }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn add(a: u16, b: u16) -> u16 { a + b }\n pub fn subtract(a: u16, b: u16) -> u16 { a - b }\n pub fn multiply(a: u16, b: u16) -> u16 { a * b }\n pub fn divide(a: u16, b: u16) -> u16 { a / b }\n pub fn remainder(a: u16, b: u16) -> u16 { a % b }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn add(a: u32, b: u32) -> u32 { a + b }\n pub fn subtract(a: u32, b: u32) -> u32 { a - b }\n pub fn multiply(a: u32, b: u32) -> u32 { a * b }\n pub fn divide(a: u32, b: u32) -> u32 { a / b }\n pub fn remainder(a: u32, b: u32) -> u32 { a % b }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn add(a: u64, b: u64) -> u64 { a + b }\n pub fn subtract(a: u64, b: u64) -> u64 { a - b }\n pub fn multiply(a: u64, b: u64) -> u64 { a * b }\n pub fn divide(a: u64, b: u64) -> u64 { a / b }\n pub fn remainder(a: u64, b: u64) -> u64 { a % b }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn add(a: u8, b: u8) -> u8 { a + b }\n pub fn subtract(a: u8, b: u8) -> u8 { a - b }\n pub fn multiply(a: u8, b: u8) -> u8 { a * b }\n pub fn divide(a: u8, b: u8) -> u8 { a / b }\n pub fn remainder(a: u8, b: u8) -> u8 { a % b }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_bitand(a: bool, b: bool) -> bool {\n a &= b;\n a\n }\n pub fn assign_bitor(a: bool, b: bool) -> bool {\n a |= b;\n a\n }\n pub fn assign_bitxor(a: bool, b: bool) -> bool {\n a ^= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_bitand(a: i128, b: i128) -> i128 {\n a &= b;\n a\n }\n pub fn assign_bitor(a: i128, b: i128) -> i128 {\n a |= b;\n a\n }\n pub fn assign_bitxor(a: i128, b: i128) -> i128 {\n a ^= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_bitand(a: i16, b: i16) -> i16 {\n a &= b;\n a\n }\n pub fn assign_bitor(a: i16, b: i16) -> i16 {\n a |= b;\n a\n }\n pub fn assign_bitxor(a: i16, b: i16) -> i16 {\n a ^= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_bitand(a: i32, b: i32) -> i32 {\n a &= b;\n a\n }\n pub fn assign_bitor(a: i32, b: i32) -> i32 {\n a |= b;\n a\n }\n pub fn assign_bitxor(a: i32, b: i32) -> i32 {\n a ^= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_bitand(a: i64, b: i64) -> i64 {\n a &= b;\n a\n }\n pub fn assign_bitor(a: i64, b: i64) -> i64 {\n a |= b;\n a\n }\n pub fn assign_bitxor(a: i64, b: i64) -> i64 {\n a ^= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_bitand(a: i8, b: i8) -> i8 {\n a &= b;\n a\n }\n pub fn assign_bitor(a: i8, b: i8) -> i8 {\n a |= b;\n a\n }\n pub fn assign_bitxor(a: i8, b: i8) -> i8 {\n a ^= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_bitand(a: u128, b: u128) -> u128 {\n a &= b;\n a\n }\n pub fn assign_bitor(a: u128, b: u128) -> u128 {\n a |= b;\n a\n }\n pub fn assign_bitxor(a: u128, b: u128) -> u128 {\n a ^= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_bitand(a: u16, b: u16) -> u16 {\n a &= b;\n a\n }\n pub fn assign_bitor(a: u16, b: u16) -> u16 {\n a |= b;\n a\n }\n pub fn assign_bitxor(a: u16, b: u16) -> u16 {\n a ^= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_bitand(a: u32, b: u32) -> u32 {\n a &= b;\n a\n }\n pub fn assign_bitor(a: u32, b: u32) -> u32 {\n a |= b;\n a\n }\n pub fn assign_bitxor(a: u32, b: u32) -> u32 {\n a ^= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_bitand(a: u64, b: u64) -> u64 {\n a &= b;\n a\n }\n pub fn assign_bitor(a: u64, b: u64) -> u64 {\n a |= b;\n a\n }\n pub fn assign_bitxor(a: u64, b: u64) -> u64 {\n a ^= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_bitand(a: u8, b: u8) -> u8 {\n a &= b;\n a\n }\n pub fn assign_bitor(a: u8, b: u8) -> u8 {\n a |= b;\n a\n }\n pub fn assign_bitxor(a: u8, b: u8) -> u8 {\n a ^= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_leftshift(a: i128, b: i128) -> i128 {\n a <<= b;\n a\n }\n pub fn assign_rightshift(a: i128, b: i128) -> i128 {\n a >>= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_leftshift(a: i16, b: i16) -> i16 {\n a <<= b;\n a\n }\n pub fn assign_rightshift(a: i16, b: i16) -> i16 {\n a >>= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_leftshift(a: i32, b: i32) -> i32 {\n a <<= b;\n a\n }\n pub fn assign_rightshift(a: i32, b: i32) -> i32 {\n a >>= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_leftshift(a: i64, b: i64) -> i64 {\n a <<= b;\n a\n }\n pub fn assign_rightshift(a: i64, b: i64) -> i64 {\n a >>= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_leftshift(a: i8, b: i8) -> i8 {\n a <<= b;\n a\n }\n pub fn assign_rightshift(a: i8, b: i8) -> i8 {\n a >>= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_leftshift(a: u128, b: u128) -> u128 {\n a <<= b;\n a\n }\n pub fn assign_rightshift(a: u128, b: u128) -> u128 {\n a >>= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_leftshift(a: u16, b: u16) -> u16 {\n a <<= b;\n a\n }\n pub fn assign_rightshift(a: u16, b: u16) -> u16 {\n a >>= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_leftshift(a: u32, b: u32) -> u32 {\n a <<= b;\n a\n }\n pub fn assign_rightshift(a: u32, b: u32) -> u32 {\n a >>= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_leftshift(a: u64, b: u64) -> u64 {\n a <<= b;\n a\n }\n pub fn assign_rightshift(a: u64, b: u64) -> u64 {\n a >>= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign_leftshift(a: u8, b: u8) -> u8 {\n a <<= b;\n a\n }\n pub fn assign_rightshift(a: u8, b: u8) -> u8 {\n a >>= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign(a: bool, b: bool) -> bool {\n a = b;\n a\n }\n // TODO: Add errors\n // a += b;\n // a *= b;\n // a -= b;\n // a /= b;\n // a %= b;\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign(a: f32, b: f32) -> f32 {\n a = b;\n a\n }\n pub fn assign_add(a: f32, b: f32) -> f32 {\n a += b;\n a\n }\n pub fn assign_subtract(a: f32, b: f32) -> f32 {\n a -= b;\n a\n }\n pub fn assign_multiply(a: f32, b: f32) -> f32 {\n a *= b;\n a\n }\n pub fn assign_divide(a: f32, b: f32) -> f32 {\n a /= b;\n a\n }\n pub fn assign_remainder(a: f32, b: f32) -> f32 {\n a %= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign(a: f64, b: f64) -> f64 {\n a = b;\n a\n }\n pub fn assign_add(a: f64, b: f64) -> f64 {\n a += b;\n a\n }\n pub fn assign_subtract(a: f64, b: f64) -> f64 {\n a -= b;\n a\n }\n pub fn assign_multiply(a: f64, b: f64) -> f64 {\n a *= b;\n a\n }\n pub fn assign_divide(a: f64, b: f64) -> f64 {\n a /= b;\n a\n }\n pub fn assign_remainder(a: f64, b: f64) -> f64 {\n a %= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign(a: i128, b: i128) -> i128 {\n a = b;\n a\n }\n pub fn assign_add(a: i128, b: i128) -> i128 {\n a += b;\n a\n }\n pub fn assign_subtract(a: i128, b: i128) -> i128 {\n a -= b;\n a\n }\n pub fn assign_multiply(a: i128, b: i128) -> i128 {\n a *= b;\n a\n }\n pub fn assign_divide(a: i128, b: i128) -> i128 {\n a /= b;\n a\n }\n pub fn assign_remainder(a: i128, b: i128) -> i128 {\n a %= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign(a: i16, b: i16) -> i16 {\n a = b;\n a\n }\n pub fn assign_add(a: i16, b: i16) -> i16 {\n a += b;\n a\n }\n pub fn assign_subtract(a: i16, b: i16) -> i16 {\n a -= b;\n a\n }\n pub fn assign_multiply(a: i16, b: i16) -> i16 {\n a *= b;\n a\n }\n pub fn assign_divide(a: i16, b: i16) -> i16 {\n a /= b;\n a\n }\n pub fn assign_remainder(a: i16, b: i16) -> i16 {\n a %= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign(a: i32, b: i32) -> i32 {\n a = b;\n a\n }\n pub fn assign_add(a: i32, b: i32) -> i32 {\n a += b;\n a\n }\n pub fn assign_subtract(a: i32, b: i32) -> i32 {\n a -= b;\n a\n }\n pub fn assign_multiply(a: i32, b: i32) -> i32 {\n a *= b;\n a\n }\n pub fn assign_divide(a: i32, b: i32) -> i32 {\n a /= b;\n a\n }\n pub fn assign_remainder(a: i32, b: i32) -> i32 {\n a %= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
source: crates/mun_codegen/src/test.rs
assertion_line: 1045
expression: "\n pub fn assign(a: i64, b: i64) -> i64 {\n a = b;\n a\n }\n pub fn assign_add(a: i64, b: i64) -> i64 {\n a += b;\n a\n }\n pub fn assign_subtract(a: i64, b: i64) -> i64 {\n a -= b;\n a\n }\n pub fn assign_multiply(a: i64, b: i64) -> i64 {\n a *= b;\n a\n }\n pub fn assign_divide(a: i64, b: i64) -> i64 {\n a /= b;\n a\n }\n pub fn assign_remainder(a: i64, b: i64) -> i64 {\n a %= b;\n a\n }\n "

---
; == FILE IR (mod) =====================================
; ModuleID = 'mod'
Expand Down
Loading