]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/derive-same-struct.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / ui / proc-macro / derive-same-struct.rs
1 // run-pass
2
3 #![allow(path_statements)]
4 #![allow(dead_code)]
5 // aux-build:derive-same-struct.rs
6
7 #[macro_use]
8 extern crate derive_same_struct;
9
10 #[derive(AToB)]
11 struct A;
12
13 fn main() {
14     C;
15 }