]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/add-impl.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
[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 }