summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/derive-helper-vs-legacy.rs
blob: 98836bcb8937de08ffe6c51fc97f76d4ea637e63 (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;

#[derive(Empty)]
#[empty_helper] // OK, this is both derive helper and legacy derive helper
#[derive(Empty)]
struct S;

fn main() {}