summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/quote-debug.rs
blob: e0304a01405a5293af118328180999a39f9e54c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// check-pass
// force-host
// no-prefer-dynamic
// compile-flags: -Z unpretty=expanded
//
// This file is not actually used as a proc-macro - instead,
// it's just used to show the output of the `quote!` macro

#![feature(proc_macro_quote)]
#![crate_type = "proc-macro"]

extern crate proc_macro;

fn main() {
    proc_macro::quote! {
        let hello = "world";
    }
}