rust/tests/ui/attributes/issue-40962.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
124 B
Rust
Raw Normal View History

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