rustc/tests/ui/attributes/issue-40962.rs
2023-08-02 10:33:26 +02:00

12 lines
124 B
Rust

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