]> git.lizzy.rs Git - rust.git/blob - tests/ui/definition-reachable/field-method.rs
Auto merge of #105716 - chriswailes:ndk-update-redux, r=pietroalbini
[rust.git] / tests / ui / definition-reachable / field-method.rs
1 // Check that functions accessible through a field visible to a macro are
2 // considered reachable
3
4 // aux-build:nested-fn-macro.rs
5 // run-pass
6
7 extern crate nested_fn_macro;
8
9 fn main() {
10     assert_eq!(nested_fn_macro::m!(), 12);
11 }