1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
18 #include "test_macros.h"
20 template <class CharT
>
22 : public std::basic_streambuf
<CharT
>
33 assert(is
.width() == 10);
39 assert(os
.width() == 10);
43 std::wistream
is(&sb
);
45 assert(is
.width() == 10);
49 std::wostream
os(&sb
);
51 assert(os
.width() == 10);