]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/local-modularized-tricky-pass.rs
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / imports / local-modularized-tricky-pass.rs
1 // compile-pass
2
3 macro_rules! define_exported { () => {
4     #[macro_export]
5     macro_rules! exported {
6         () => ()
7     }
8 }}
9
10 mod inner1 {
11     use super::*;
12     exported!();
13 }
14
15 mod inner2 {
16     define_exported!();
17 }
18
19 fn main() {}