diff options
author | mikebarnett <unknown> | 2009-07-15 21:03:41 +0000 |
---|---|---|
committer | mikebarnett <unknown> | 2009-07-15 21:03:41 +0000 |
commit | ce1c2de044c91624370411e23acab13b0381949b (patch) | |
tree | 592539996fe08050ead5ee210c973801611dde40 /Test/inline/expansion3.bpl |
Initial set of files.
Diffstat (limited to 'Test/inline/expansion3.bpl')
-rw-r--r-- | Test/inline/expansion3.bpl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Test/inline/expansion3.bpl b/Test/inline/expansion3.bpl new file mode 100644 index 00000000..1fd3d853 --- /dev/null +++ b/Test/inline/expansion3.bpl @@ -0,0 +1,19 @@ +function foo3(x:int, y:bool) returns(bool);
+axiom {:inline true} (forall y:bool, x:int :: foo3(x,y) == foo3(x,y));
+
+axiom foo3(1,false);
+
+procedure baz1()
+ requires foo3(2,false);
+{
+ assume foo3(1,true);
+}
+
+function x1(x:int) returns(bool);
+axiom {:inline true} (forall x:int :: x1(x) <==> x > 0);
+axiom {:inline true} (forall x:int :: x1(x) <==> x >= 1);
+
+procedure bar()
+{
+ assert x1(3);
+}
|