summaryrefslogtreecommitdiff
path: root/float_test8.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'float_test8.bpl')
-rw-r--r--float_test8.bpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/float_test8.bpl b/float_test8.bpl
new file mode 100644
index 00000000..8d881126
--- /dev/null
+++ b/float_test8.bpl
@@ -0,0 +1,5 @@
+procedure F() returns () {
+ var x : float;
+ x := fp(.1) + fp(.1);
+ assert x == fp(.2);
+} \ No newline at end of file