about summary refs log tree commit diff
path: root/tests/ui/definition-reachable/nested-fn.rs
blob: 94f3520ed73563f2ff61d19523a997cf857acde6 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Check that functions visible to macros through paths with >2 segments are
// considered reachable

//@ aux-build:field-method-macro.rs
//@ run-pass

extern crate field_method_macro;

fn main() {
    assert_eq!(field_method_macro::m!(), 33);
}