]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/local-modularized-tricky-pass-1.rs
Preparing for merge from rustc
[rust.git] / src / test / ui / imports / local-modularized-tricky-pass-1.rs
1 // build-pass (FIXME(62277): could be check-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() {}