summaryrefslogtreecommitdiff
path: root/float_test8.bpl
diff options
context:
space:
mode:
authorGravatar Checkmate50 <dgeisler50@gmail.com>2015-10-14 12:57:50 -0600
committerGravatar Checkmate50 <dgeisler50@gmail.com>2015-10-14 12:57:50 -0600
commit0324757fb1a12d76861a51be988690bf8de75f64 (patch)
tree48693a6815c6ced0eebee81657a0c44c200ef62d /float_test8.bpl
parent80f3d4ed1bb221adbd3c7162acea10920b9fab73 (diff)
Modified translation so that z3 runs with type checking for simple binary operations
Diffstat (limited to 'float_test8.bpl')
-rw-r--r--float_test8.bpl5
1 files changed, 2 insertions, 3 deletions
diff --git a/float_test8.bpl b/float_test8.bpl
index 7c23c74f..32fb8863 100644
--- a/float_test8.bpl
+++ b/float_test8.bpl
@@ -1,6 +1,5 @@
procedure F() returns () {
- Logic=QF_FP;
var x : float;
- x := fp(.1) + fp(.1);
- assert x == fp(.2);
+ x := fp(0.1) + fp(0.1);
+ assert x == fp(0.2);
} \ No newline at end of file