summaryrefslogtreecommitdiff
path: root/test/regress/regress0/sygus/dup-op.sy
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress0/sygus/dup-op.sy')
-rw-r--r--test/regress/regress0/sygus/dup-op.sy11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/regress/regress0/sygus/dup-op.sy b/test/regress/regress0/sygus/dup-op.sy
new file mode 100644
index 000000000..dbf415986
--- /dev/null
+++ b/test/regress/regress0/sygus/dup-op.sy
@@ -0,0 +1,11 @@
+; EXPECT: unsat
+; COMMAND-LINE: --cegqi --no-cegqi-si
+(set-logic LIA)
+(synth-fun f ((x Int)) Int
+ ((Start Int ((+ Con Con) (+ Start Start) x))
+ (Con Int (0 1))))
+
+(declare-var x Int)
+(constraint (= (f x) (* 2 x)))
+(check-synth)
+
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback