mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-27 18:56:24 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
18 lines
173 B
Rust
18 lines
173 B
Rust
//@ run-pass
|
|
// Issue #14660
|
|
|
|
|
|
mod bleh {
|
|
macro_rules! foo {
|
|
() => {
|
|
pub fn bar() { }
|
|
}
|
|
}
|
|
|
|
foo!();
|
|
}
|
|
|
|
fn main() {
|
|
bleh::bar();
|
|
}
|