summaryrefslogtreecommitdiff
path: root/test/regress/regress0
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress0')
-rw-r--r--test/regress/regress0/sygus/issue4383-cache-fv-id.sy23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/regress/regress0/sygus/issue4383-cache-fv-id.sy b/test/regress/regress0/sygus/issue4383-cache-fv-id.sy
new file mode 100644
index 000000000..27378d9ca
--- /dev/null
+++ b/test/regress/regress0/sygus/issue4383-cache-fv-id.sy
@@ -0,0 +1,23 @@
+; EXPECT: unsat
+; COMMAND-LINE: --lang=sygus2 --sygus-out=status
+(set-logic ALL)
+(synth-fun args_0_refinement_0
+ ((r Int)) Bool
+ ((fv_B Bool))
+ (
+ (fv_B Bool (true))
+ )
+)
+(synth-fun ret_refinement_0
+ ((x0 Int) (r Bool)) Bool
+ ((fv_B Bool) (B Bool) (I Int))
+ (
+ (fv_B Bool (r true (=> B fv_B)))
+ (B Bool ((Variable Bool) (= I I)))
+ (I Int ((Variable Int) 1))
+ )
+)
+(constraint (ret_refinement_0 1 true))
+(constraint (not (ret_refinement_0 1 false)))
+(constraint (and (ret_refinement_0 0 false)))
+(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback