diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/regress/regress0/fmf/Makefile.am | 3 | ||||
-rw-r--r-- | test/regress/regress0/fmf/bug-041417-set-options.cvc | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/test/regress/regress0/fmf/Makefile.am b/test/regress/regress0/fmf/Makefile.am index 730108ee7..0c13961cc 100644 --- a/test/regress/regress0/fmf/Makefile.am +++ b/test/regress/regress0/fmf/Makefile.am @@ -70,7 +70,8 @@ TESTS = \ bug652.smt2 \ bug782.smt2 \ quant_real_univ.cvc \ - constr-ground-to.smt2 + constr-ground-to.smt2 \ + bug-041417-set-options.cvc EXTRA_DIST = $(TESTS) diff --git a/test/regress/regress0/fmf/bug-041417-set-options.cvc b/test/regress/regress0/fmf/bug-041417-set-options.cvc new file mode 100644 index 000000000..16f59f78c --- /dev/null +++ b/test/regress/regress0/fmf/bug-041417-set-options.cvc @@ -0,0 +1,16 @@ +% EXPECT: invalid +OPTION "finite-model-find"; +OPTION "fmf-fun"; + +DATATYPE + Node = A | B +END; + +link, reach: (Node,Node,INT) -> BOOLEAN; + +ASSERT FORALL(x,y:Node, c:INT): + link(x,y,c) => reach(x,y,c); + +ASSERT link(A,B,1); + +QUERY reach(A,B,5); |