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