2019-08-05 23:06:02 +01:00
|
|
|
// Check that functions accessible through a field visible to a macro are
|
|
|
|
// considered reachable
|
|
|
|
|
2024-02-16 20:02:50 +00:00
|
|
|
//@ aux-build:nested-fn-macro.rs
|
|
|
|
//@ run-pass
|
2019-08-05 23:06:02 +01:00
|
|
|
|
|
|
|
extern crate nested_fn_macro;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
assert_eq!(nested_fn_macro::m!(), 12);
|
|
|
|
}
|