Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
macros
/
user-defined-macro-rules.rs
blob: baabe0e90c450c70fcff977e55e7696daba7866f [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
macro_rules
!
macro_rules
{
()
=>
{
struct
S
;
}
}
// OK
macro_rules
!
{}
// OK, calls the macro defined above
fn
main
()
{
let
s
=
S
;
}