diff options
Diffstat (limited to 'test/regress/regress1/sygus/only-const-grammar.sy')
-rw-r--r-- | test/regress/regress1/sygus/only-const-grammar.sy | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/regress/regress1/sygus/only-const-grammar.sy b/test/regress/regress1/sygus/only-const-grammar.sy new file mode 100644 index 000000000..25effd154 --- /dev/null +++ b/test/regress/regress1/sygus/only-const-grammar.sy @@ -0,0 +1,20 @@ +; EXPECT: unsat +; COMMAND-LINE: --sygus-out=status --lang=sygus2 +(set-logic LIA) + +(synth-fun f ((x Int) (y Int)) Int + ((Start Int) (CInt Int)) + ( + (Start Int ((+ x CInt))) + (CInt Int ((Constant Int))) + ) +) + +(declare-var x Int) +(declare-var y Int) + +(constraint (= (f 0 0) 2)) + +(constraint (= (f 1 1) 3)) + +(check-synth) |