summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/raw-ident.rs
blob: 03cb4571496e90318056b03a11b63c7e9f0b127d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// aux-build:raw-ident.rs

#[macro_use] extern crate raw_ident;

fn main() {
    make_struct!(fn);
    make_struct!(Foo);
    make_struct!(await);

    r#fn;
    r#Foo;
    Foo;
    r#await;

    make_bad_struct!(S); //~ ERROR expected one of
}