Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
proc-macro
/
add-impl.rs
blob: 7780c39f0c14b86e14ee6da249e9a7f6b79ef48b [
file
] [
log
] [
blame
] [
edit
]
//@ run-pass
//@ aux-build:add-impl.rs
#[
macro_use
]
extern
crate add_impl
;
#[
derive
(
AddImpl
)]
struct
B
;
fn
main
()
{
B
.
foo
();
foo
();
bar
::
foo
();
}