Skip to content

Commit

Permalink
Rollup merge of #70238 - petrochenkov:procmod, r=Centril
Browse files Browse the repository at this point in the history
Add a test for out-of-line module passed through a proc macro

Closes #58818.
  • Loading branch information
Dylan-DPC committed Mar 21, 2020
2 parents 39c5222 + e391d77 commit 17e6ed1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/test/ui/proc-macro/out-of-line-mod.rs
Original file line number Diff line number Diff line change
@@ -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() {}

0 comments on commit 17e6ed1

Please sign in to comment.