2 // aux-build:proc_macro_def.rs
3 // ignore-cross-compile
5 #![feature(proc_macro_hygiene)]
7 extern crate proc_macro_def;
9 use proc_macro_def::{attr_tru, attr_identity, identity, ret_tru, tru};
18 return identity!(true);
21 fn f3() -> identity!(bool) {
25 fn f4(x: bool) -> bool {
27 identity!(true) => false,
28 identity!(false) => true,
37 assert!(identity!(5 == 5));