summaryrefslogtreecommitdiff
path: root/Test/test2/CutBackEdge.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/test2/CutBackEdge.bpl')
-rw-r--r--Test/test2/CutBackEdge.bpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/Test/test2/CutBackEdge.bpl b/Test/test2/CutBackEdge.bpl
new file mode 100644
index 00000000..934974aa
--- /dev/null
+++ b/Test/test2/CutBackEdge.bpl
@@ -0,0 +1,14 @@
+procedure Test()
+{
+ var i: int;
+
+ entry:
+ i := 0;
+ goto block850;
+
+ block850:
+ assert i == 0;
+ havoc i;
+ goto block850;
+
+}