summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/unittests/IR/InstructionsTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/IR/InstructionsTest.cpp b/llvm/unittests/IR/InstructionsTest.cpp
index 5595e8ce93c..ea2265655cb 100644
--- a/llvm/unittests/IR/InstructionsTest.cpp
+++ b/llvm/unittests/IR/InstructionsTest.cpp
@@ -1128,6 +1128,7 @@ TEST(InstructionsTest, UnaryOperator) {
EXPECT_FALSE(isa<BinaryOperator>(F));
F->deleteValue();
+ I->deleteValue();
}
} // end anonymous namespace
OpenPOWER on IntegriCloud