Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
macros
/
macro-invocation-with-curly-braces-34418.rs
blob: 46dbdd35ef658a4f3616d86d28cb3d17ddcee85e [
file
] [
log
] [
blame
]
//@ check-pass
macro_rules
!
make_item
{
()
=>
{
fn
f
()
{}
}
}
macro_rules
!
make_stmt
{
()
=>
{
let
x
=
0
;
}
}
fn
f
()
{
make_item
!
{}
}
fn
g
()
{
make_stmt
!
{}
}
fn
main
()
{}
// https://github.com/rust-lang/rust/issues/34418