commit | a9d0ef1e450d3f5543bdc6a39dc062dc2c215c7f | [log] [tgz] |
---|---|---|
author | Gabor Greif <ggreif@gmail.com> | Thu Mar 18 18:59:08 2010 +0000 |
committer | Gabor Greif <ggreif@gmail.com> | Thu Mar 18 18:59:08 2010 +0000 |
tree | 30d7a60402f2e0e908f17e69b1a82c1915783835 | |
parent | 8342e5776eabf0a6dacffb40eff20dfe35be31ba [diff] [blame] |
another one llvm-svn: 98850
diff --git a/llvm/unittests/VMCore/InstructionsTest.cpp b/llvm/unittests/VMCore/InstructionsTest.cpp index 8828185..c1baa74 100644 --- a/llvm/unittests/VMCore/InstructionsTest.cpp +++ b/llvm/unittests/VMCore/InstructionsTest.cpp
@@ -59,7 +59,7 @@ 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());