about summary refs log tree commit diff
path: root/tests/ui/proc-macro/derive-same-struct.rs
blob: 432476d1ebb1d6af0733a87aba4f59870fb3a0fc (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;
}