]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/pub-item-inside-macro.rs
Merge commit '533f0fc81ab9ba097779fcd27c8f9ea12261fef5' into psimd
[rust.git] / src / test / ui / macros / pub-item-inside-macro.rs
1 // run-pass
2 // Issue #14660
3
4 // pretty-expanded FIXME #23616
5
6 mod bleh {
7     macro_rules! foo {
8         () => {
9             pub fn bar() { }
10         }
11     }
12
13     foo!();
14 }
15
16 fn main() {
17     bleh::bar();
18 }