summaryrefslogtreecommitdiff
path: root/test/regress/regress1/constarr3.cvc
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/constarr3.cvc')
-rw-r--r--test/regress/regress1/constarr3.cvc12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/regress/regress1/constarr3.cvc b/test/regress/regress1/constarr3.cvc
new file mode 100644
index 000000000..bf5cf961c
--- /dev/null
+++ b/test/regress/regress1/constarr3.cvc
@@ -0,0 +1,12 @@
+% EXIT: 1
+% EXPECT: Array theory solver does not yet support write-chains connecting two different constant arrays
+% should be unsat
+all1, all2 : ARRAY INT OF INT;
+aa, bb : ARRAY INT OF INT;
+a, i : INT;
+ASSERT all1 = ARRAY(INT OF INT) : 1;
+ASSERT aa = all1 WITH [i] := 0;
+ASSERT all2 = ARRAY(INT OF INT) : 2;
+ASSERT bb = all2 WITH [i] := 0;
+ASSERT aa = bb;
+CHECKSAT;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback