]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/not-joint.rs
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / proc-macro / not-joint.rs
1 // run-pass
2 // aux-build:not-joint.rs
3
4 extern crate not_joint as bar;
5 use bar::{tokens, nothing};
6
7 tokens![< -];
8
9 #[nothing]
10 a![< -];
11
12 #[nothing]
13 b!{< -}
14
15 #[nothing]
16 c!(< -);
17
18 #[nothing]
19 fn foo() {
20     //! dox
21     let x = 2 < - 3;
22 }
23
24 fn main() {}