rust/tests/ui/proc-macro/not-joint.rs
2024-02-16 20:02:50 +00:00

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