summaryrefslogtreecommitdiffstats
path: root/src/test/ui/modules/mod-inside-fn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/modules/mod-inside-fn.rs')
-rw-r--r--src/test/ui/modules/mod-inside-fn.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/modules/mod-inside-fn.rs b/src/test/ui/modules/mod-inside-fn.rs
deleted file mode 100644
index 93050c891..000000000
--- a/src/test/ui/modules/mod-inside-fn.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-// run-pass
-
-fn f() -> isize {
- mod m {
- pub fn g() -> isize { 720 }
- }
-
- m::g()
-}
-
-pub fn main() {
- assert_eq!(f(), 720);
-}