TESTS_ENVIRONMENT = @srcdir@/../../run_regression @top_builddir@/../../bin/cvc4
TESTS = simple.01.cvc \
simple.02.cvc \
- simple.03.cvc
+ simple.03.cvc \
+ simple.04.cvc
# synonyms for "check"
.PHONY: regress regress0 test
TESTS_ENVIRONMENT = @srcdir@/../../run_regression @top_builddir@/../../bin/cvc4
TESTS = simple.01.cvc \
simple.02.cvc \
- simple.03.cvc
+ simple.03.cvc \
+ simple.04.cvc
all: all-am
--- /dev/null
+% EXPECT: INVALID
+A: TYPE;
+B: TYPE;
+x, y: A;
+a, b: A;
+
+f: A -> B;
+
+ASSERT (x = a OR x = b) AND (y = b OR y = a);
+QUERY (f(x) = f(y));
+