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

#[macro_use]
extern crate test_macros;

#[identity_attr]
struct Foo;

fn main() {
    let _ = Foo;
}