]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/add-impl.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / ui / proc-macro / add-impl.rs
1 // run-pass
2 // aux-build:add-impl.rs
3
4 #[macro_use]
5 extern crate add_impl;
6
7 #[derive(AddImpl)]
8 struct B;
9
10 fn main() {
11     B.foo();
12     foo();
13     bar::foo();
14 }