summaryrefslogtreecommitdiff
path: root/test/unit/parser/parser_black.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/parser/parser_black.h')
-rw-r--r--test/unit/parser/parser_black.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/unit/parser/parser_black.h b/test/unit/parser/parser_black.h
index 33ad3740a..f2f5f24b6 100644
--- a/test/unit/parser/parser_black.h
+++ b/test/unit/parser/parser_black.h
@@ -138,6 +138,12 @@ class ParserBlack
.withInputLanguage(d_lang)
.build();
+ if (d_lang == LANG_SMTLIB_V2)
+ {
+ // Use QF_LIA to make multiplication ("*") available
+ static_cast<Smt2*>(parser)->setLogic("QF_LIA");
+ }
+
TS_ASSERT(!parser->done());
setupContext(*parser);
TS_ASSERT(!parser->done());
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback