rust/tests/ui/proc-macro/not-joint.rs
2023-01-11 09:32:08 +00:00

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() {}