diff options
Diffstat (limited to 'libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.fail.cpp')
-rw-r--r-- | libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.fail.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.fail.cpp b/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.fail.cpp new file mode 100644 index 00000000000..7f57f3cf930 --- /dev/null +++ b/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.cons/default.fail.cpp @@ -0,0 +1,22 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +// <streambuf> + +// template <class charT, class traits = char_traits<charT> > +// class basic_streambuf; + +// basic_streambuf(); // is protected + +#include <streambuf> + +int main() +{ + std::basic_streambuf<char> sb; +} |