aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/stringify.rs
blob: 0350a3cea4d3eee1dd95eca06fc47e184b6cbcfb (plain)
1
2
3
4
5
6
7
8
9
10
#![feature(rustc_attrs)]

#[rustc_builtin_macro]
macro_rules! stringify {
    () => {};
}

fn main() {
    let _a = stringify!(sample text with parenthesis () and things! This will become a "string".);
}