From e8d9177a1533411eb53593c7a16cfa6c188952c9 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 4 Jun 2009 05:36:36 +0000 Subject: Use dyn_cast<> instead of dyn_ref_cast. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72847 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Expr/ExprTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unittests') diff --git a/unittests/Expr/ExprTest.cpp b/unittests/Expr/ExprTest.cpp index 84179661..a5e5d5d7 100644 --- a/unittests/Expr/ExprTest.cpp +++ b/unittests/Expr/ExprTest.cpp @@ -58,7 +58,7 @@ TEST(ExprTest, ConcatExtract) { ref extract4 = ExtractExpr::create(concat1, 27, 2); EXPECT_EQ(Expr::Extract, extract4->getKind()); - const ExtractExpr* tmp = dyn_ref_cast(extract4); + const ExtractExpr* tmp = cast(extract4); EXPECT_EQ(3U, tmp->offset); EXPECT_EQ(2U, tmp->getWidth()); -- cgit 1.4.1