mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 08:18:44 +00:00
22 lines
222 B
Rust
22 lines
222 B
Rust
//@ run-pass
|
|
// Issue #17436
|
|
|
|
|
|
mod bleh {
|
|
macro_rules! foo {
|
|
() => {
|
|
pub fn bar(&self) { }
|
|
}
|
|
}
|
|
|
|
pub struct S;
|
|
|
|
impl S {
|
|
foo!();
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
bleh::S.bar();
|
|
}
|