IR: Cleanup after test to silence ASAN builds

llvm-svn: 367758
This commit is contained in:
Tim Northover 2019-08-03 15:40:00 +00:00
parent 7849e41635
commit 71b447605a
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ TEST(AsmWriterTest, DebugPrintDetachedArgument) {
raw_string_ostream OS(S);
Arg->print(OS);
EXPECT_EQ(S, "i32 <badref>");
delete Arg;
}
TEST(AsmWriterTest, DumpDIExpression) {