mirror of
https://github.com/Z3Prover/z3
synced 2025-06-15 10:26:16 +00:00
Fixed warnings produced by gcc 4.6.3 when compiling in debug mode
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
b1ce9f796c
commit
d8f627c6c8
53 changed files with 116 additions and 121 deletions
|
@ -73,18 +73,15 @@ static void tst_get_implied_equalities2() {
|
|||
Z3_context ctx = Z3_mk_context(cfg);
|
||||
Z3_del_config(cfg);
|
||||
Z3_sort int_ty = Z3_mk_int_sort(ctx);
|
||||
Z3_sort a_ty = Z3_mk_array_sort(ctx, int_ty, int_ty);
|
||||
Z3_ast a = mk_int_var(ctx,"a");
|
||||
Z3_ast b = mk_int_var(ctx,"b");
|
||||
Z3_ast c = mk_int_var(ctx,"c");
|
||||
Z3_ast d = mk_int_var(ctx,"d");
|
||||
Z3_ast one = Z3_mk_numeral(ctx, "1", int_ty);
|
||||
Z3_ast two = Z3_mk_numeral(ctx, "2", int_ty);
|
||||
Z3_ast x = Z3_mk_const_array(ctx, int_ty, one);
|
||||
Z3_ast y = Z3_mk_store(ctx, x, one, a);
|
||||
Z3_ast z = Z3_mk_store(ctx, y, two , b);
|
||||
Z3_ast u = Z3_mk_store(ctx, x, two , b);
|
||||
Z3_ast v = Z3_mk_store(ctx, u, one , a);
|
||||
Z3_ast one = Z3_mk_numeral(ctx, "1", int_ty);
|
||||
Z3_ast two = Z3_mk_numeral(ctx, "2", int_ty);
|
||||
Z3_ast x = Z3_mk_const_array(ctx, int_ty, one);
|
||||
Z3_ast y = Z3_mk_store(ctx, x, one, a);
|
||||
Z3_ast z = Z3_mk_store(ctx, y, two , b);
|
||||
Z3_ast u = Z3_mk_store(ctx, x, two , b);
|
||||
Z3_ast v = Z3_mk_store(ctx, u, one , a);
|
||||
unsigned const num_terms = 5;
|
||||
unsigned i;
|
||||
Z3_ast terms[5] = { x, y, z, u, v};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue