Skip to content

Commit 4db6fc6

Browse files
author
Matthias Güdemann
authored
Merge pull request diffblue#1553 from mgudemann/bugfix/initialize_pointer_width_in_unit_test
Initialize pointer width in `instantiate_not_contains` unit test
2 parents b17ed58 + 35096b8 commit 4db6fc6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

unit/solvers/refinement/string_constraint_instantiation/instantiate_not_contains.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <langapi/mode.h>
1616
#include <java_bytecode/java_bytecode_language.h>
1717
#include <util/simplify_expr.h>
18+
#include <util/config.h>
1819

1920
/// \class Types used throughout the test. Currently it is impossible to
2021
/// statically initialize this value, there is a PR to allow this
@@ -161,6 +162,9 @@ SCENARIO("instantiate_not_contains",
161162
symbol_tablet symtbl;
162163
const namespacet ns(symtbl);
163164

165+
// initialize architecture with sensible default values
166+
config.set_arch("none");
167+
164168
// Creating strings
165169
const auto ab_array = make_string_exprt("ab");
166170
const auto b_array = make_string_exprt("b");

0 commit comments

Comments
 (0)