mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
12 lines
246 B
Rust
12 lines
246 B
Rust
// 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);
|
|
}
|