]> git.lizzy.rs Git - rust.git/blob - tests/ui/user-defined-macro-rules.rs
Rollup merge of #106701 - ibraheemdev:sync-sender-spin, r=Amanieu
[rust.git] / tests / ui / user-defined-macro-rules.rs
1 // check-pass
2
3 macro_rules! macro_rules { () => { struct S; } } // OK
4
5 macro_rules! {} // OK, calls the macro defined above
6
7 fn main() {
8     let s = S;
9 }