about summary refs log tree commit diff
path: root/src/test/run-pass/while-with-break.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/while-with-break.rs')
-rw-r--r--src/test/run-pass/while-with-break.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/while-with-break.rs b/src/test/run-pass/while-with-break.rs
index 24907f948dc..68c0779657e 100644
--- a/src/test/run-pass/while-with-break.rs
+++ b/src/test/run-pass/while-with-break.rs
@@ -8,8 +8,8 @@ fn main() {
         log(debug, i);
         i = i + 1;
         if i == 95 {
-            let v: [int] =
-                [1, 2, 3, 4, 5]; // we check that it is freed by break
+            let v: [int]/~ =
+                [1, 2, 3, 4, 5]/~; // we check that it is freed by break
 
             #debug("breaking");
             break;