summaryrefslogtreecommitdiff
path: root/Test/aitest1/Linear5.bpl
diff options
context:
space:
mode:
authorGravatar qadeer <unknown>2010-02-16 05:07:46 +0000
committerGravatar qadeer <unknown>2010-02-16 05:07:46 +0000
commit717eaee0063074b804098d3cfd44a7a3f822b064 (patch)
tree5ca65ed1265ed238195ad25476c9ab506d5a8360 /Test/aitest1/Linear5.bpl
parentf1d626d71fef69995f34daae4341473d597f5d27 (diff)
Implemented block coalescing invoked right after type checking.
Controlled by the option /coalesceBlocks (default is to perform the optimization).
Diffstat (limited to 'Test/aitest1/Linear5.bpl')
-rw-r--r--Test/aitest1/Linear5.bpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/Test/aitest1/Linear5.bpl b/Test/aitest1/Linear5.bpl
index 4f04999c..199cb6f2 100644
--- a/Test/aitest1/Linear5.bpl
+++ b/Test/aitest1/Linear5.bpl
@@ -8,14 +8,16 @@ procedure p()
{
A:
assume -1 <= x;
- goto B;
+ goto B, E;
B:
assume x < y;
- goto C;
+ goto C, E;
C:
x := x*x;
- goto D;
+ goto D, E;
D:
x := y;
return;
+ E:
+ return;
}