rust/tests/ui/explicit-i-suffix.rs

15 lines
192 B
Rust
Raw Normal View History

//@ run-pass
#![allow(unused_must_use)]
//@ pretty-expanded FIXME #23616
pub fn main() {
let x: isize = 8;
2015-01-25 21:05:03 +00:00
let y = 9;
x + y;
let q: isize = -8;
2015-01-25 21:05:03 +00:00
let r = -9;
q + r;
}