summary refs log tree commit diff
path: root/src/test/run-pass/proc-macro/derive-same-struct.rs
blob: 184015250875de287275c8422b8bd95ecadffcc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![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;
}