aboutsummaryrefslogtreecommitdiff
path: root/src/relooper/test.txt
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-07 14:00:12 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-06-07 14:00:43 -0700
commit507d73ae7b6964031c3090e9330fb50c009df7c1 (patch)
tree6df09f13bcbc13a4a92d794f1c44773d09feb182 /src/relooper/test.txt
parentc6d56fb9da9eb2ecafadec1a951c98db17092b18 (diff)
remove break labels more aggresively, with a refined natural flow analysis1.4.9
Diffstat (limited to 'src/relooper/test.txt')
-rw-r--r--src/relooper/test.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/relooper/test.txt b/src/relooper/test.txt
index d657c6af..b3535592 100644
--- a/src/relooper/test.txt
+++ b/src/relooper/test.txt
@@ -136,3 +136,20 @@ while(1) {
// block F
}
+
+
+-- conditional loop --
+
+
+
+// block A
+if (shouldLoop()) {
+ while(1) {
+ // block B
+ if (!(moarLoop())) {
+ break;
+ }
+ }
+}
+// block C
+