]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/gen-macro-rules.rs
Rollup merge of #105172 - alexs-sh:issue-98861-fix-next, r=scottmcm
[rust.git] / tests / ui / proc-macro / gen-macro-rules.rs
1 // Derive macros can generate `macro_rules` items, regression test for issue #63651.
2
3 // check-pass
4 // aux-build:gen-macro-rules.rs
5
6 extern crate gen_macro_rules as repro;
7
8 #[derive(repro::repro)]
9 pub struct S;
10
11 m!(); // OK
12
13 fn main() {}