summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-03-13 19:38:32 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-03-13 19:38:32 +0000
commit3978b877d7773c77577353239158941e208bbfea (patch)
tree7011d818d6358bdb2cdff81bd93e19f4716bcb76 /llvm/unittests
parent35f96eca4bf43b2583499fc3f977d4690b18158d (diff)
downloadbcm5719-llvm-3978b877d7773c77577353239158941e208bbfea.tar.gz
bcm5719-llvm-3978b877d7773c77577353239158941e208bbfea.zip
Revert "Fix crash when multiple raw_fd_ostreams to stdout are created."
This reverts commit r297624. It was failing on the bots. llvm-svn: 297657
Diffstat (limited to 'llvm/unittests')
-rw-r--r--llvm/unittests/Support/raw_ostream_test.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/unittests/Support/raw_ostream_test.cpp b/llvm/unittests/Support/raw_ostream_test.cpp
index 777e555949e..f87d2f60d16 100644
--- a/llvm/unittests/Support/raw_ostream_test.cpp
+++ b/llvm/unittests/Support/raw_ostream_test.cpp
@@ -9,7 +9,6 @@
#include "gtest/gtest.h"
#include "llvm/ADT/SmallString.h"
-#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
@@ -331,11 +330,4 @@ TEST(raw_ostreamTest, FormattedHexBytes) {
"0007: 68 69 6a 6b 6c |hijkl|",
format_bytes_with_ascii_str(B.take_front(12), 0, 7, 1));
}
-
-TEST(raw_fd_ostreamTest, multiple_raw_fd_ostream_to_stdout) {
- std::error_code EC;
-
- { raw_fd_ostream("-", EC, sys::fs::OpenFlags::F_None); }
- { raw_fd_ostream("-", EC, sys::fs::OpenFlags::F_None); }
-}
}
OpenPOWER on IntegriCloud