blob: 13ad27f9372521acd2dfe32f864efd04526ec21e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Derive macros can generate `macro_rules` items, regression test for issue #63651.
// check-pass
// aux-build:gen-macro-rules.rs
extern crate gen_macro_rules as repro;
#[derive(repro::repro)]
pub struct S;
m!(); // OK
fn main() {}
|