Add a test for out-of-line module passed through a proc macro
This commit is contained in:
parent
7900b2bc13
commit
e391d776e3
|
@ -0,0 +1,13 @@
|
||||||
|
// Out-of-line module is found on the filesystem if passed through a proc macro (issue #58818).
|
||||||
|
|
||||||
|
// check-pass
|
||||||
|
// aux-build:test-macros.rs
|
||||||
|
|
||||||
|
#[macro_use]
|
||||||
|
extern crate test_macros;
|
||||||
|
|
||||||
|
mod outer {
|
||||||
|
identity! { mod inner; }
|
||||||
|
}
|
||||||
|
|
||||||
|
fn main() {}
|
Loading…
Reference in New Issue