2 // aux-build:proc_macro_def.rs
3 // ignore-cross-compile
5 extern crate proc_macro_def;
7 use proc_macro_def::{attr_tru, attr_identity, identity, ret_tru, tru};
16 return identity!(true);
19 fn f3() -> identity!(bool) {
23 fn f4(x: bool) -> bool {
25 identity!(true) => false,
26 identity!(false) => true,
35 assert!(identity!(5 == 5));