about summary refs log tree commit diff
path: root/tests/ui/proc-macro/not-joint.rs
blob: c585e7e33dc3cca75e6d38488a059f9a92d422cb (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
//@ proc-macro: 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() {}