about summary refs log tree commit diff
path: root/tests/pretty/cast-lt.rs
blob: 96fff450dcfd8ab42609e63bb0a9da56b5f263a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ pretty-compare-only
//@ pretty-mode:expanded
//@ pp-exact:cast-lt.pp

macro_rules! negative {
      ($e:expr) => { $e < 0 }
}

fn main() {
      negative!(1 as i32);
}