summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/not-joint.rs
blob: 30da2811ed4d4a556cb27f333ae06e3ed0e5786c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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() {}