about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJesse Ruderman <jruderman@gmail.com>2011-09-24 16:13:32 -0700
committerJesse Ruderman <jruderman@gmail.com>2011-09-24 16:13:32 -0700
commit0125532106bceab9dcf7ffd81e8a351c587f53c4 (patch)
treefef866a6b1f3794e6de4401c7d8d8df80a351378 /src
parentc29f1af17e49ae01d865f443ea0ff2f92bf3a888 (diff)
Don't iloop (future-proof test against improved reachability computations)
Diffstat (limited to 'src')
-rw-r--r--src/test/compile-fail/do-while-pred-constraints.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/do-while-pred-constraints.rs b/src/test/compile-fail/do-while-pred-constraints.rs
index 49e7ec220bb..60d8dd4fae1 100644
--- a/src/test/compile-fail/do-while-pred-constraints.rs
+++ b/src/test/compile-fail/do-while-pred-constraints.rs
@@ -9,6 +9,6 @@ fn main() {
     check (even(y));
     do  {
         print_even(y);
-        do  { do  { do  { y += 1; } while true } while true } while true
+        do  { do  { do  { y += 1; } while false } while false } while false
     } while true
 }