]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/quote-debug.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / ui / proc-macro / quote-debug.rs
1 // check-pass
2 // force-host
3 // no-prefer-dynamic
4 // compile-flags: -Z unpretty=expanded
5 //
6 // This file is not actually used as a proc-macro - instead,
7 // it's just used to show the output of the `quote!` macro
8
9 #![feature(proc_macro_quote)]
10 #![crate_type = "proc-macro"]
11
12 extern crate proc_macro;
13
14 fn main() {
15     proc_macro::quote! {
16         let hello = "world";
17     }
18 }