summaryrefslogtreecommitdiff
path: root/Test/houdini/houd11.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/houdini/houd11.bpl')
-rw-r--r--Test/houdini/houd11.bpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/Test/houdini/houd11.bpl b/Test/houdini/houd11.bpl
new file mode 100644
index 00000000..df9f9e3f
--- /dev/null
+++ b/Test/houdini/houd11.bpl
@@ -0,0 +1,13 @@
+
+var fooVar: int;
+
+procedure foo()
+modifies fooVar;
+{
+ fooVar:=5;
+ assert(fooVar==4);
+ assert(fooVar==3);
+}
+
+// expected outcome: Errors
+// expected assigment: [] \ No newline at end of file