summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/derive-helper-shadowed.rs
blob: e299454e0fc734d3483a16a48cf657fb0fe44209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// build-pass (FIXME(62277): could be check-pass?)
// aux-build:test-macros.rs
// aux-build:derive-helper-shadowed-2.rs

#[macro_use]
extern crate test_macros;
#[macro_use(empty_helper)]
extern crate derive_helper_shadowed_2;

macro_rules! empty_helper { () => () }

#[derive(Empty)]
#[empty_helper] // OK
struct S;

fn main() {}