blob: 1ac466ba1ea44f9e9c012be5ae32addee7c5bebd [file] [log] [blame] [edit]
//@ run-pass
macro_rules! foo2 {
() => {
"foo"
}
}
macro_rules! foo {
() => {
foo2!()
}
}
fn main() {
assert_eq!(concat!(foo!(), "bar"), "foobar")
}