rust/tests/ui/definition-reachable/nested-fn.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
246 B
Rust
Raw Normal View History

2020-03-06 11:13:55 +00:00
// 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);
}