]> git.lizzy.rs Git - rust.git/blob - tests/ui/user-defined-macro-rules.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[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 }