0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-12-01 04:21:19 +01:00
rust/tests/pretty/cast-lt.pp
许杰友 Jieyou Xu (Joe) cd25009469
Re-bless tests/pretty
2024-02-22 16:04:05 +00:00

14 lines
277 B
ObjectPascal

#![feature(prelude_import)]
#![no_std]
#[prelude_import]
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;
//@ pretty-compare-only
//@ pretty-mode:expanded
//@ pp-exact:cast-lt.pp
macro_rules! negative { ($e:expr) => { $e < 0 } }
fn main() { (1 as i32) < 0; }