rust/tests/ui/imports/local-modularized-tricky-pass-1.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
270 B
Rust
Raw Normal View History

// build-pass (FIXME(62277): could be check-pass?)
macro_rules! define_exported { () => {
#[macro_export]
macro_rules! exported {
() => ()
}
}}
mod inner1 {
use super::*;
exported!();
}
mod inner2 {
define_exported!();
}
fn main() {}