Add a more complicated arithmetic test.
This commit is contained in:
parent
694facf395
commit
3f0eac2c78
1 changed files with 5 additions and 0 deletions
|
@ -23,4 +23,9 @@ fn indirect_add() -> i32 {
|
||||||
x + y
|
x + y
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[miri_run(expected = "Int(25)")]
|
||||||
|
fn arith() -> i32 {
|
||||||
|
3*3 + 4*4
|
||||||
|
}
|
||||||
|
|
||||||
fn main() {}
|
fn main() {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue