summaryrefslogtreecommitdiffstats
path: root/src/test/ui/user-defined-macro-rules.rs
blob: 09e071ec45420d6500047f485892a5ba71ca9eff (plain)
1
2
3
4
5
6
7
8
9
// check-pass

macro_rules! macro_rules { () => { struct S; } } // OK

macro_rules! {} // OK, calls the macro defined above

fn main() {
    let s = S;
}