summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/derive-same-struct.rs
blob: 528b0f22a81e4d0f164d20af23e1a004044a3995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// run-pass

#![allow(path_statements)]
#![allow(dead_code)]
// aux-build:derive-same-struct.rs

#[macro_use]
extern crate derive_same_struct;

#[derive(AToB)]
struct A;

fn main() {
    C;
}