1
Fork 0
rust/tests/ui/macros/user-defined-macro-rules.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
155 B
Rust
Raw Normal View History

//@ check-pass
2017-05-12 09:53:58 +02:00
macro_rules! macro_rules { () => { struct S; } } // OK
macro_rules! {} // OK, calls the macro defined above
fn main() {
let s = S;
}