projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a test for llvm-ar's 'd' operation.
[oota-llvm.git]
/
unittests
/
IR
/
IRBuilderTest.cpp
diff --git
a/unittests/IR/IRBuilderTest.cpp
b/unittests/IR/IRBuilderTest.cpp
index 8c3471c3de4f347873d4a13b4e66deb61e2ea45b..fecc4a4fe6b4121500fc5b361c392e9431e6a010 100644
(file)
--- a/
unittests/IR/IRBuilderTest.cpp
+++ b/
unittests/IR/IRBuilderTest.cpp
@@
-115,6
+115,7
@@
TEST_F(IRBuilderTest, GetIntTy) {
IntegerType *IntPtrTy = Builder.getIntPtrTy(DL);
unsigned IntPtrBitSize = DL->getPointerSizeInBits(0);
EXPECT_EQ(IntPtrTy, IntegerType::get(getGlobalContext(), IntPtrBitSize));
+ delete DL;
}
TEST_F(IRBuilderTest, FastMathFlags) {