about summary refs log tree commit diff
path: root/tests/ui/proc-macro/raw-ident.rs
blob: 95ada295f5c0e43a452b49860d9973e9fe13dd00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//@ proc-macro: 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
}