blob: dd4e6fda8be9b1acfd68b8ff6e791dc706d1c5dc [file] [log] [blame]
//@ run-pass
// Issue #17436
mod bleh {
macro_rules! foo {
() => {
pub fn bar(&self) { }
}
}
pub struct S;
impl S {
foo!();
}
}
fn main() {
bleh::S.bar();
}