diff options
Diffstat (limited to 'llvm/unittests/Support/SourceMgrTest.cpp')
-rw-r--r-- | llvm/unittests/Support/SourceMgrTest.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/unittests/Support/SourceMgrTest.cpp b/llvm/unittests/Support/SourceMgrTest.cpp index 75a0cfe..f5366a7 100644 --- a/llvm/unittests/Support/SourceMgrTest.cpp +++ b/llvm/unittests/Support/SourceMgrTest.cpp @@ -537,7 +537,6 @@ TEST_F(SourceMgrTest, PrintWithoutLoc) { auto Diag = llvm::SMDiagnostic("file.in", llvm::SourceMgr::DK_Error, "message"); Diag.print(nullptr, OS); - OS.flush(); EXPECT_EQ("file.in: error: message\n", Output); Output.clear(); Diag.print(nullptr, OS, false, false, false); |