]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/negative-token.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / ui / proc-macro / negative-token.rs
1 // run-pass
2 // aux-build:negative-token.rs
3
4 extern crate negative_token;
5
6 use negative_token::*;
7
8 fn main() {
9     assert_eq!(-1, neg_one!());
10     assert_eq!(-1.0, neg_one_float!());
11 }