1 // run-pass 2 // Issue #17436 3 4 // pretty-expanded FIXME #23616 5 6 mod bleh { 7 macro_rules! foo { 8 () => { 9 pub fn bar(&self) { } 10 } 11 } 12 13 pub struct S; 14 15 impl S { 16 foo!(); 17 } 18 } 19 main()20 fn main() { 21 bleh::S.bar(); 22 } 23