about summary refs log tree commit diff homepage
path: root/unittests/Solver
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/Solver')
-rw-r--r--unittests/Solver/SolverTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Solver/SolverTest.cpp b/unittests/Solver/SolverTest.cpp
index a6130716..87ec63ef 100644
--- a/unittests/Solver/SolverTest.cpp
+++ b/unittests/Solver/SolverTest.cpp
@@ -45,7 +45,7 @@ void testOperation(Solver &solver,
 
     unsigned size = Expr::getMinBytesForWidth(operandWidth);
     static uint64_t id = 0;
-    Array *array = new Array("arr" + llvm::utostr(id), 0, ++id, size);
+    Array *array = new Array("arr" + llvm::utostr(++id), 0, size);
     symbolicArgs.push_back(Expr::CreateArg(Expr::createTempRead(array, 
                                                                 operandWidth)));
   }