3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-06 15:25:46 +00:00

Isolating reg_decl_plugins

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-10-24 11:27:50 -07:00
parent 69ce24a6ce
commit 641db30660
33 changed files with 140 additions and 70 deletions

View file

@ -4,13 +4,14 @@
#include "arith_decl_plugin.h"
#include "bv_decl_plugin.h"
#include "smt_context.h"
#include "reg_decl_plugins.h"
void tst_check_assumptions()
{
memory::initialize(0);
front_end_params params;
ast_manager mgr;
mgr.register_decl_plugins();
reg_decl_plugins(mgr);
sort_ref b(mgr.mk_bool_sort(), mgr);
func_decl_ref pPred(mgr.mk_func_decl(symbol("p"), 0, static_cast<sort * const *>(0), b), mgr);