summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/load-two.rs
blob: 5ce0e65452e99392baf2680e69d4778d849a1a9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// run-pass

#![allow(path_statements)]
#![allow(dead_code)]
// aux-build:derive-atob.rs
// aux-build:derive-ctod.rs

#[macro_use]
extern crate derive_atob;
#[macro_use]
extern crate derive_ctod;

#[derive(Copy, Clone)]
#[derive(AToB)]
struct A;

#[derive(CToD)]
struct C;

fn main() {
    B;
    D;
}