summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2019-11-27 15:59:36 -0600
committerGitHub <noreply@github.com>2019-11-27 15:59:36 -0600
commit5e2d39ccd22f38c6a3f2aab24136b07b65b3f81e (patch)
tree5c92ecb7418a2bc2c0645782b793f747c2bb5664 /test
parent46eeb6a507c31b4ac65b0ef70c32898667097377 (diff)
Fix sygus inference for choice functions introduced at preprocess (#3500)
Diffstat (limited to 'test')
-rw-r--r--test/regress/CMakeLists.txt1
-rw-r--r--test/regress/regress1/sygus/issue3498.smt27
2 files changed, 8 insertions, 0 deletions
diff --git a/test/regress/CMakeLists.txt b/test/regress/CMakeLists.txt
index 2182beaa8..e7252834e 100644
--- a/test/regress/CMakeLists.txt
+++ b/test/regress/CMakeLists.txt
@@ -1722,6 +1722,7 @@ set(regress_1_tests
regress1/sygus/issue3247.smt2
regress1/sygus/issue3320-quant.sy
regress1/sygus/issue3461.sy
+ regress1/sygus/issue3498.smt2
regress1/sygus/large-const-simp.sy
regress1/sygus/let-bug-simp.sy
regress1/sygus/list-head-x.sy
diff --git a/test/regress/regress1/sygus/issue3498.smt2 b/test/regress/regress1/sygus/issue3498.smt2
new file mode 100644
index 000000000..9fa8fdc1e
--- /dev/null
+++ b/test/regress/regress1/sygus/issue3498.smt2
@@ -0,0 +1,7 @@
+; EXPECT: sat
+; COMMAND-LINE: --sygus-inference --no-check-models
+(set-logic ALL)
+(declare-fun x () Real)
+(assert (= x 1))
+(assert (= (sqrt x) x))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback