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:
984751e
)
appease valgrind testers
author
Gabor Greif
<ggreif@gmail.com>
Tue, 16 Mar 2010 12:32:03 +0000
(12:32 +0000)
committer
Gabor Greif
<ggreif@gmail.com>
Tue, 16 Mar 2010 12:32:03 +0000
(12:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98628
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 81563484f7b36159fdb4ff50f88d8860ce5c5e5a..2d98cad27fb8b1ee60b459fef4d78e2f4884c41e 100644
(file)
--- a/
unittests/VMCore/InstructionsTest.cpp
+++ b/
unittests/VMCore/InstructionsTest.cpp
@@
-31,6
+31,10
@@
TEST(InstructionsTest, ReturnInst) {
EXPECT_EQ(r1->getOperand(0), One);
++b;
EXPECT_EQ(b, r1->op_end());
+
+ // clean up
+ delete r0;
+ delete r1;
}
} // end anonymous namespace