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
144 B
Rust
Raw Normal View History

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