diff options
Diffstat (limited to 'src/test/ui/global-scope.rs')
-rw-r--r-- | src/test/ui/global-scope.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/global-scope.rs b/src/test/ui/global-scope.rs deleted file mode 100644 index 944eee5af..000000000 --- a/src/test/ui/global-scope.rs +++ /dev/null @@ -1,13 +0,0 @@ -// run-pass - -pub fn f() -> isize { return 1; } - -pub mod foo { - pub fn f() -> isize { return 2; } - pub fn g() { - assert_eq!(f(), 2); - assert_eq!(::f(), 1); - } -} - -pub fn main() { return foo::g(); } |