forked from OSchip/llvm-project
IRTests/IRBuilderTest.cpp: GetIntTy: Delete DL at yourself since it is not linked.
llvm-svn: 173238
This commit is contained in:
parent
7493658645
commit
d86cd7855b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue