summaryrefslogtreecommitdiff
path: root/test/regress/regress0/sygus/nflat-fwd.sy
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-06-11 18:13:37 +0200
committerajreynol <andrew.j.reynolds@gmail.com>2015-06-11 18:13:37 +0200
commitaaabd78a7573bf03068ca1bf4aa1389627f11326 (patch)
treed5c31aba04dab2c33dfd04189f184dbbe26b961c /test/regress/regress0/sygus/nflat-fwd.sy
parent711c63d026ce7d98724fe945eaf30077f0dad28d (diff)
Avoid naming conflicts in sygus, refactor. Add missing regression. Detect Start grammar. Add regression.
Diffstat (limited to 'test/regress/regress0/sygus/nflat-fwd.sy')
-rw-r--r--test/regress/regress0/sygus/nflat-fwd.sy11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/regress/regress0/sygus/nflat-fwd.sy b/test/regress/regress0/sygus/nflat-fwd.sy
new file mode 100644
index 000000000..0f9d46215
--- /dev/null
+++ b/test/regress/regress0/sygus/nflat-fwd.sy
@@ -0,0 +1,11 @@
+; EXPECT: unsat
+; COMMAND-LINE: --cegqi
+(set-logic LIA)
+(synth-fun f ((x Int)) Int
+ ((Start Int ((+ Con Con) (+ (+ Start Start) Con) 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