summaryrefslogtreecommitdiffstats
path: root/src/test/pretty/cast-lt.rs
blob: e14bdd1f3b3ec1f9c634e1399d5f2beebce50565 (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);
}