diff options
author | Kshitij Bansal <kshitij@cs.nyu.edu> | 2014-04-29 19:07:20 -0400 |
---|---|---|
committer | Kshitij Bansal <kshitij@cs.nyu.edu> | 2014-04-29 19:07:20 -0400 |
commit | 47139e8b11b0f11289a1b6cca46cd62e0814eaa3 (patch) | |
tree | 02b678ba6a0a7acf1a00ead8d3bab16213c430a3 /test/regress | |
parent | 71e27a89c1500766c7d3da622192b6cf2f200d44 (diff) |
fix was compiler warning in antlr_input, crashing test case with the old fix
Diffstat (limited to 'test/regress')
-rw-r--r-- | test/regress/regress0/Makefile.am | 2 | ||||
-rw-r--r-- | test/regress/regress0/errorcrash.smt2 | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/test/regress/regress0/Makefile.am b/test/regress/regress0/Makefile.am index f16e18bdf..521993db3 100644 --- a/test/regress/regress0/Makefile.am +++ b/test/regress/regress0/Makefile.am @@ -170,6 +170,7 @@ if CVC4_BUILD_PROFILE_COMPETITION else TESTS += \ error.cvc \ + errorcrash.smt2 \ arrayinuf_error.smt2 endif @@ -177,6 +178,7 @@ endif EXTRA_DIST += \ subranges.cvc \ arrayinuf_error.smt2 \ + errorcrash.smt2 \ error.cvc # synonyms for "check" in this directory diff --git a/test/regress/regress0/errorcrash.smt2 b/test/regress/regress0/errorcrash.smt2 new file mode 100644 index 000000000..59d5b2014 --- /dev/null +++ b/test/regress/regress0/errorcrash.smt2 @@ -0,0 +1,9 @@ +; EXIT: 1 +; EXPECT-ERROR: (error "Parse Error: errorcrash.smt2:5.29: Symbol 'Array' not declared as a type") +(set-logic QF_UF) +(declare-sort U 0) +(declare-fun x () (Array U U)) +(declare-fun y () (Array U U)) +(assert (= x y)) +(check-sat) +(get-value (x y)) |