summaryrefslogtreecommitdiffstats
path: root/tests/ui/definition-reachable/nested-fn.rs
blob: b665b049f32f9750fe8cc8eaf467fedbde1ff350 (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);
}