mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[Support][unittest] Fix asan failure after D81156
This commit is contained in:
parent
ce94c5b4f1
commit
be2cb93ae5
@ -446,6 +446,7 @@ TEST(raw_ostreamTest, flush_tied_to_stream_on_write) {
|
|||||||
// The x remains in the buffer, since it was written after the flush of
|
// The x remains in the buffer, since it was written after the flush of
|
||||||
// TiedTo.
|
// TiedTo.
|
||||||
EXPECT_EQ("rwx", Buffer);
|
EXPECT_EQ("rwx", Buffer);
|
||||||
|
TiedTo.tie(nullptr);
|
||||||
|
|
||||||
// Calling tie with nullptr unties stream.
|
// Calling tie with nullptr unties stream.
|
||||||
TiedStream.SetUnbuffered();
|
TiedStream.SetUnbuffered();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user