mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
23 lines
255 B
Rust
23 lines
255 B
Rust
//@ run-pass
|
|
// Issue #17436
|
|
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
mod bleh {
|
|
macro_rules! foo {
|
|
() => {
|
|
pub fn bar(&self) { }
|
|
}
|
|
}
|
|
|
|
pub struct S;
|
|
|
|
impl S {
|
|
foo!();
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
bleh::S.bar();
|
|
}
|