rust/tests/ui/proc-macro/macro-use-attr.rs

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

13 lines
148 B
Rust
Raw Permalink Normal View History

//@ check-pass
//@ proc-macro: test-macros.rs
#[macro_use]
extern crate test_macros;
#[identity_attr]
struct Foo;
fn main() {
let _ = Foo;
}