summaryrefslogtreecommitdiffstats
path: root/src/test/ui/borrowck/borrowck-fixed-length-vecs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/borrowck/borrowck-fixed-length-vecs.rs')
-rw-r--r--src/test/ui/borrowck/borrowck-fixed-length-vecs.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/borrowck/borrowck-fixed-length-vecs.rs b/src/test/ui/borrowck/borrowck-fixed-length-vecs.rs
deleted file mode 100644
index 126323d8d..000000000
--- a/src/test/ui/borrowck/borrowck-fixed-length-vecs.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-// run-pass
-
-pub fn main() {
- let x = [22];
- let y = &x[0];
- assert_eq!(*y, 22);
-}