Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
macros
/
macro-multiple-items.rs
blob: c746d1bc518812aa8271a0b908a680871518d0e6 [
file
] [
log
] [
blame
] [
edit
]
//@ run-pass
macro_rules
!
make_foo
{
()
=>
(
struct
Foo
;
impl
Foo
{
fn
bar
(&
self
)
{}
}
)
}
make_foo
!();
pub
fn
main
()
{
Foo
.
bar
()
}