mirror of
https://git.proxmox.com/git/rustc
synced 2026-01-26 08:03:27 +00:00
15 lines
161 B
Rust
15 lines
161 B
Rust
//@ run-pass
|
|
//@ aux-build:add-impl.rs
|
|
|
|
#[macro_use]
|
|
extern crate add_impl;
|
|
|
|
#[derive(AddImpl)]
|
|
struct B;
|
|
|
|
fn main() {
|
|
B.foo();
|
|
foo();
|
|
bar::foo();
|
|
}
|