diff options
Diffstat (limited to 'tests/ui/modules/mod_dir_path3.rs')
-rw-r--r-- | tests/ui/modules/mod_dir_path3.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/modules/mod_dir_path3.rs b/tests/ui/modules/mod_dir_path3.rs new file mode 100644 index 000000000..fed70c1bc --- /dev/null +++ b/tests/ui/modules/mod_dir_path3.rs @@ -0,0 +1,11 @@ +// run-pass +// ignore-pretty issue #37195 + +#[path = "mod_dir_simple"] +mod pancakes { + pub mod test; +} + +pub fn main() { + assert_eq!(pancakes::test::foo(), 10); +} |