Add a test for out-of-line module passed through a proc macro

This commit is contained in:
Vadim Petrochenkov 2020-03-21 21:40:58 +03:00
parent 7900b2bc13
commit e391d776e3

View File

@ -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() {}