Skip to content

Commit ff22196

Browse files
committed
Addresses review comment.
1 parent 8be9fd5 commit ff22196

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

libcxx/test/std/input.output/syncstream/syncbuf/syncstream.syncbuf.cons/cons.default.pass.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,15 @@
2525
#include "constexpr_char_traits.h"
2626
#include "test_allocator.h"
2727

28+
template <class CharT>
29+
std::basic_syncbuf<CharT> lwg3253_default_constructor_is_not_explicit() {
30+
return {};
31+
}
32+
2833
template <class CharT>
2934
void test() {
35+
lwg3253_default_constructor_is_not_explicit<CharT>();
36+
3037
{
3138
using Buf = std::basic_syncbuf<CharT>;
3239
static_assert(std::default_initializable<Buf>);

0 commit comments

Comments
 (0)