]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/pub-item-inside-macro.rs
Rollup merge of #106970 - kylematsuda:earlybinder-item-bounds, r=lcnr
[rust.git] / tests / 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 }