summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-03-18 18:59:08 +0000
committerGabor Greif <ggreif@gmail.com>2010-03-18 18:59:08 +0000
commitfe7bb05ad1bb2644140a2009e34b0b581d9fee67 (patch)
tree58a46b79db847898127b470076895b03f32093f2 /unittests
parent9553188fccbf0ae9c5b6bef26d0d2bd5feff8b59 (diff)
downloadllvm-fe7bb05ad1bb2644140a2009e34b0b581d9fee67.tar.gz
llvm-fe7bb05ad1bb2644140a2009e34b0b581d9fee67.tar.bz2
llvm-fe7bb05ad1bb2644140a2009e34b0b581d9fee67.tar.xz
another one
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98850 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/VMCore/InstructionsTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/VMCore/InstructionsTest.cpp b/unittests/VMCore/InstructionsTest.cpp
index 882818536e..c1baa74487 100644
--- a/unittests/VMCore/InstructionsTest.cpp
+++ b/unittests/VMCore/InstructionsTest.cpp
@@ -59,7 +59,7 @@ TEST(InstructionsTest, BranchInst) {
EXPECT_EQ(b0->getNumOperands(), 1U);
EXPECT_NE(b0->op_begin(), b0->op_end());
- EXPECT_EQ(b0->op_begin() + 1, b0->op_end());
+ EXPECT_EQ(next(b0->op_begin()), b0->op_end());
EXPECT_EQ(next(b0->op_begin()), b0->op_end());