summaryrefslogtreecommitdiff
path: root/test/regress/regress1/constarr3.cvc.smt2
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2021-09-22 13:38:46 -0700
committerGitHub <noreply@github.com>2021-09-22 20:38:46 +0000
commite116c00719a7574064c09da4abb10b3297415c90 (patch)
treee71e489d7c591067eeab793a80d139e47718befe /test/regress/regress1/constarr3.cvc.smt2
parentba259d66be877de3cc77e4f62083905ace942c82 (diff)
Remove CVC language support (#7219)
This commit removes the support for the CVC language and converts all *.cvc regression tests to SMT-LIBv2.
Diffstat (limited to 'test/regress/regress1/constarr3.cvc.smt2')
-rw-r--r--test/regress/regress1/constarr3.cvc.smt216
1 files changed, 16 insertions, 0 deletions
diff --git a/test/regress/regress1/constarr3.cvc.smt2 b/test/regress/regress1/constarr3.cvc.smt2
new file mode 100644
index 000000000..30a687608
--- /dev/null
+++ b/test/regress/regress1/constarr3.cvc.smt2
@@ -0,0 +1,16 @@
+; EXIT: 1
+; EXPECT: (error "Array theory solver does not yet support write-chains connecting two different constant arrays")
+(set-logic ALL)
+(set-option :incremental false)
+(declare-fun all1 () (Array Int Int))
+(declare-fun all2 () (Array Int Int))
+(declare-fun aa () (Array Int Int))
+(declare-fun bb () (Array Int Int))
+(declare-fun a () Int)
+(declare-fun i () Int)
+(assert (= all1 ((as const (Array Int Int)) 1)))
+(assert (= aa (store all1 i 0)))
+(assert (= all2 ((as const (Array Int Int)) 2)))
+(assert (= bb (store all2 i 0)))
+(assert (= aa bb))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback