summaryrefslogtreecommitdiff
path: root/test/regress/regress1/sygus/constant-dec-tree-bug.sy
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/sygus/constant-dec-tree-bug.sy')
-rw-r--r--test/regress/regress1/sygus/constant-dec-tree-bug.sy15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/regress/regress1/sygus/constant-dec-tree-bug.sy b/test/regress/regress1/sygus/constant-dec-tree-bug.sy
new file mode 100644
index 000000000..15df2d507
--- /dev/null
+++ b/test/regress/regress1/sygus/constant-dec-tree-bug.sy
@@ -0,0 +1,15 @@
+; EXPECT: unsat
+; COMMAND-LINE: --sygus-out=status --sygus-unif
+
+(set-logic SAT)
+(synth-fun u ((x Int)) Int)
+(synth-fun f () Bool)
+(synth-fun g () Bool)
+(synth-fun h () Bool)
+
+(constraint (= (u 3) (+ (u 2) 2)))
+(constraint f)
+(constraint (not g))
+(constraint h)
+
+(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback