rust/tests/pretty/cast-lt.rs

12 lines
169 B
Rust
Raw Normal View History

2017-11-05 14:27:46 -06:00
// pretty-compare-only
// pretty-mode:expanded
// pp-exact:cast-lt.pp
macro_rules! negative {
($e:expr) => { $e < 0 }
}
fn main() {
negative!(1 as i32);
}