]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/quote-debug.rs
Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov
[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 }