Sign in
fuchsia
/
third_party
/
rust
/
eda6dc928323fcd0ac1b51cea1aa79ab17e8519d
/
.
/
tests
/
ui
/
definition-reachable
/
field-method.rs
blob: d15b982a621e603eae3e7867e30bcc0e967eb9ff [
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
);
}