mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
12 lines
234 B
Rust
12 lines
234 B
Rust
// Check that functions accessible through a field visible to a macro are
|
|
// considered reachable
|
|
|
|
//@ aux-build:nested-fn-macro.rs
|
|
//@ run-pass
|
|
|
|
extern crate nested_fn_macro;
|
|
|
|
fn main() {
|
|
assert_eq!(nested_fn_macro::m!(), 12);
|
|
}
|