about summary refs log tree commit diff
path: root/src/test/ui/for-loop-while/foreach-external-iterators.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/for-loop-while/foreach-external-iterators.rs')
-rw-r--r--src/test/ui/for-loop-while/foreach-external-iterators.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/for-loop-while/foreach-external-iterators.rs b/src/test/ui/for-loop-while/foreach-external-iterators.rs
deleted file mode 100644
index 24ecfe9b60d..00000000000
--- a/src/test/ui/for-loop-while/foreach-external-iterators.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-// run-pass
-
-pub fn main() {
-    let x = [1; 100];
-    let mut y = 0;
-    for i in &x[..] {
-        y += *i
-    }
-    assert_eq!(y, 100);
-}