mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 10:47:16 +00:00
15 lines
267 B
Rust
15 lines
267 B
Rust
// Derive macros can generate `macro_rules` items, regression test for issue #63651.
|
|
|
|
//@ check-pass
|
|
//@ proc-macro: gen-macro-rules.rs
|
|
//@ ignore-backends: gcc
|
|
|
|
extern crate gen_macro_rules as repro;
|
|
|
|
#[derive(repro::repro)]
|
|
pub struct S;
|
|
|
|
m!(); // OK
|
|
|
|
fn main() {}
|