rust/src/test/ui/proc-macro/not-joint.rs

25 lines
247 B
Rust

// run-pass
// aux-build:not-joint.rs
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() {}