summaryrefslogtreecommitdiff
path: root/test/regress/regress0/sqrt2-sort-inf-unk.smt2
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2017-09-25 16:42:02 -0500
committerGitHub <noreply@github.com>2017-09-25 16:42:02 -0500
commitaab07a32ae755d343bec226a746367e35b86098a (patch)
tree219fb580c9942ec7cb7182dbef182c3ecb7e06e1 /test/regress/regress0/sqrt2-sort-inf-unk.smt2
parente849f5c87c6a92cc06cfae611ce0cab0851e6905 (diff)
Fix bug related to sort inference + subtypes. (#1125)
Diffstat (limited to 'test/regress/regress0/sqrt2-sort-inf-unk.smt2')
-rw-r--r--test/regress/regress0/sqrt2-sort-inf-unk.smt26
1 files changed, 6 insertions, 0 deletions
diff --git a/test/regress/regress0/sqrt2-sort-inf-unk.smt2 b/test/regress/regress0/sqrt2-sort-inf-unk.smt2
new file mode 100644
index 000000000..f4b15020a
--- /dev/null
+++ b/test/regress/regress0/sqrt2-sort-inf-unk.smt2
@@ -0,0 +1,6 @@
+; COMMAND-LINE: --sort-inference
+; EXPECT: unknown
+(set-logic QF_NRA)
+(declare-fun x () Real)
+(assert (= (* x x) 2.0))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback