]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/add-impl.rs
Rollup merge of #106816 - TimNN:rental-remap, r=oli-obj
[rust.git] / tests / 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 }