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