]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/raw-ident.rs
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[rust.git] / src / test / ui / proc-macro / raw-ident.rs
1 // aux-build:raw-ident.rs
2
3 #[macro_use] extern crate raw_ident;
4
5 fn main() {
6     make_struct!(fn);
7     make_struct!(Foo);
8     make_struct!(await);
9
10     r#fn;
11     r#Foo;
12     Foo;
13     r#await;
14
15     make_bad_struct!(S); //~ ERROR expected one of
16 }