Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
macros
/
macro-deep_expansion.rs
blob: e13d8e1fc849e385b4edda922b0c55f6acb524fa [
file
] [
log
] [
blame
]
// run-pass
macro_rules
!
foo2
{
()
=>
{
"foo"
}
}
macro_rules
!
foo
{
()
=>
{
foo2
!()
}
}
fn
main
()
{
assert_eq
!(
concat
!(
foo
!(),
"bar"
),
"foobar"
)
}