forked from OSchip/llvm-project
[libc++][NFC] Remove remnants of _LIBCPP_HAS_NO_STDOUT, which should have been removed by 87dd51983c
This commit is contained in:
parent
543604f30e
commit
367a9e709d
|
@ -24,11 +24,6 @@
|
||||||
int main(int, char**) {
|
int main(int, char**) {
|
||||||
std::cerr << "1234";
|
std::cerr << "1234";
|
||||||
assert(std::cerr.flags() & std::ios_base::unitbuf);
|
assert(std::cerr.flags() & std::ios_base::unitbuf);
|
||||||
|
|
||||||
#ifdef _LIBCPP_HAS_NO_STDOUT
|
|
||||||
assert(std::cerr.tie() == NULL);
|
|
||||||
#else
|
|
||||||
assert(std::cerr.tie() == &std::cout);
|
assert(std::cerr.tie() == &std::cout);
|
||||||
#endif
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,11 +24,6 @@
|
||||||
int main(int, char**) {
|
int main(int, char**) {
|
||||||
std::wcerr << L"1234";
|
std::wcerr << L"1234";
|
||||||
assert(std::wcerr.flags() & std::ios_base::unitbuf);
|
assert(std::wcerr.flags() & std::ios_base::unitbuf);
|
||||||
|
|
||||||
#ifdef _LIBCPP_HAS_NO_STDOUT
|
|
||||||
assert(std::wcerr.tie() == NULL);
|
|
||||||
#else
|
|
||||||
assert(std::wcerr.tie() == &std::wcout);
|
assert(std::wcerr.tie() == &std::wcout);
|
||||||
#endif
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue