rust/tests/pretty/cast-lt.pp

14 lines
276 B
ObjectPascal
Raw Normal View History

2017-11-05 14:27:46 -06:00
#![feature(prelude_import)]
#![no_std]
#[prelude_import]
use ::std::prelude::rust_2015::*;
2017-11-05 14:27:46 -06:00
#[macro_use]
extern crate std;
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 } }
2017-11-05 14:27:46 -06:00
fn main() { (1 as i32) < 0; }