summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/macro-use-attr.rs
blob: d275fb6a804f793b37fac7a2dd67338bc40b6d12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// check-pass
// aux-build:test-macros.rs

#[macro_use]
extern crate test_macros;

#[identity_attr]
struct Foo;

fn main() {
    let _ = Foo;
}