rust/src/test/ui/definition-reachable/nested-fn.rs

12 lines
245 B
Rust
Raw Normal View History

// Check that functions visible to macros through paths with >2 segements 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);
}