mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
14 lines
238 B
Rust
14 lines
238 B
Rust
// 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() {}
|