Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
definition-reachable
/
field-method.rs
blob: 60e895a2f9a0742db232c47f95de091562c1a320 [
file
] [
log
] [
blame
]
// Check that functions accessible through a field visible to a macro are
// considered reachable
// aux-build:nested-fn-macro.rs
// run-pass
extern
crate nested_fn_macro
;
fn
main
()
{
assert_eq
!(
nested_fn_macro
::
m
!(),
12
);
}