projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9553188
)
another one
author
Gabor Greif
<ggreif@gmail.com>
Thu, 18 Mar 2010 18:59:08 +0000
(18:59 +0000)
committer
Gabor Greif
<ggreif@gmail.com>
Thu, 18 Mar 2010 18:59:08 +0000
(18:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98850
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/VMCore/InstructionsTest.cpp
patch
|
blob
|
history
diff --git
a/unittests/VMCore/InstructionsTest.cpp
b/unittests/VMCore/InstructionsTest.cpp
index 882818536ee1ddbde44bca6298bbafa2abe8e05b..c1baa74487aa75d7679c701a636979433f026f52 100644
(file)
--- 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());