rust/tests/ui/attributes/issue-40962.rs
2023-01-11 09:32:08 +00:00

12 lines
124 B
Rust

// check-pass
macro_rules! m {
($i:meta) => {
#[derive($i)]
struct S;
}
}
m!(Clone);
fn main() {}