]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/cast-lt.pp
Rollup merge of #54838 - 11Takanori:fix-typo, r=petrochenkov
[rust.git] / src / test / pretty / cast-lt.pp
1 #![feature(prelude_import)]
2 #![no_std]
3 #[prelude_import]
4 use ::std::prelude::v1::*;
5 #[macro_use]
6 extern crate std;
7 // Copyright 2017 The Rust Project Developers. See the COPYRIGHT
8 // file at the top-level directory of this distribution and at
9 // http://rust-lang.org/COPYRIGHT.
10 //
11 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
12 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
13 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
14 // option. This file may not be copied, modified, or distributed
15 // except according to those terms.
16
17 // pretty-compare-only
18 // pretty-mode:expanded
19 // pp-exact:cast-lt.pp
20
21 macro_rules! negative(( $ e : expr ) => { $ e < 0 });
22
23 fn main() { (1 as i32) < 0; }