]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/load-two.rs
Rollup merge of #107470 - kadiwa4:bootstrap_cleanup, r=albertlarsan68
[rust.git] / tests / ui / proc-macro / load-two.rs
1 // run-pass
2
3 #![allow(path_statements)]
4 #![allow(dead_code)]
5 // aux-build:derive-atob.rs
6 // aux-build:derive-ctod.rs
7
8 #[macro_use]
9 extern crate derive_atob;
10 #[macro_use]
11 extern crate derive_ctod;
12
13 #[derive(Copy, Clone)]
14 #[derive(AToB)]
15 struct A;
16
17 #[derive(CToD)]
18 struct C;
19
20 fn main() {
21     B;
22     D;
23 }