2019-07-27 00:54:25 +03:00
|
|
|
//@ run-pass
|
2024-11-24 17:37:25 -08:00
|
|
|
//@ proc-macro: not-joint.rs
|
2018-05-17 09:30:43 -07:00
|
|
|
|
|
|
|
|
extern crate not_joint as bar;
|
|
|
|
|
use bar::{tokens, nothing};
|
|
|
|
|
|
|
|
|
|
tokens![< -];
|
|
|
|
|
|
|
|
|
|
#[nothing]
|
|
|
|
|
a![< -];
|
|
|
|
|
|
|
|
|
|
#[nothing]
|
|
|
|
|
b!{< -}
|
|
|
|
|
|
|
|
|
|
#[nothing]
|
|
|
|
|
c!(< -);
|
|
|
|
|
|
|
|
|
|
#[nothing]
|
|
|
|
|
fn foo() {
|
|
|
|
|
//! dox
|
|
|
|
|
let x = 2 < - 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fn main() {}
|