From c4a0e57c082e567e81ad3609a32ee492d41f03f9 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar <daniel@zuster.org> Date: Thu, 4 Jun 2009 07:09:13 +0000 Subject: Change ConstantExpr::{alloc,create} to return a ref<ConstantExpr> git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72853 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Expr/ExprTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unittests/Expr/ExprTest.cpp') diff --git a/unittests/Expr/ExprTest.cpp b/unittests/Expr/ExprTest.cpp index a5e5d5d7..7b37973a 100644 --- a/unittests/Expr/ExprTest.cpp +++ b/unittests/Expr/ExprTest.cpp @@ -22,7 +22,7 @@ ref<Expr> getConstant(int value, Expr::Width width) { } TEST(ExprTest, BasicConstruction) { - EXPECT_EQ(ConstantExpr::alloc(0, 32), + EXPECT_EQ(ref<Expr>(ConstantExpr::alloc(0, 32)), SubExpr::create(ConstantExpr::alloc(10, 32), ConstantExpr::alloc(10, 32))); } -- cgit 1.4.1