rust/tests/ui/proc-macro/macro-use-attr.rs
2024-02-16 20:02:50 +00:00

13 lines
146 B
Rust

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