1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//@ run-pass #![allow(path_statements)] #![allow(dead_code)] //@ proc-macro: derive-same-struct.rs //@ ignore-backends: gcc #[macro_use] extern crate derive_same_struct; #[derive(AToB)] struct A; fn main() { C; }