rust/tests/ui/attributes/issue-40962.rs
2024-02-16 20:02:50 +00:00

12 lines
125 B
Rust

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