rust/tests/ui/ext-expand-inner-exprs.rs

8 lines
136 B
Rust

//@ run-pass
static FOO : &'static str = concat!(concat!("hel", "lo"), "world");
pub fn main() {
assert_eq!(FOO, "helloworld");
}