From 5a83710e371fe68a06e6e3876c6a2c8b820a8976 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Sat, 20 Dec 2014 01:40:03 +0000 Subject: Move test into test/std subdirectory. llvm-svn: 224658 --- .../input.output/iostream.forward/iosfwd.pass.cpp | 142 +++++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 libcxx/test/std/input.output/iostream.forward/iosfwd.pass.cpp (limited to 'libcxx/test/std/input.output/iostream.forward/iosfwd.pass.cpp') diff --git a/libcxx/test/std/input.output/iostream.forward/iosfwd.pass.cpp b/libcxx/test/std/input.output/iostream.forward/iosfwd.pass.cpp new file mode 100644 index 00000000000..7250c2adb27 --- /dev/null +++ b/libcxx/test/std/input.output/iostream.forward/iosfwd.pass.cpp @@ -0,0 +1,142 @@ +//===----------------------------------------------------------------------===// +// +// 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. +// +//===----------------------------------------------------------------------===// + +// + +#include +#include // for mbstate_t + +int main() +{ + { + std::char_traits* t1 = 0; + std::char_traits* t2 = 0; + std::char_traits* t3 = 0; + } + { + std::basic_ios* t1 = 0; + std::basic_ios* t2 = 0; + std::basic_ios* t3 = 0; + } + { + std::basic_streambuf* t1 = 0; + std::basic_streambuf* t2 = 0; + std::basic_streambuf* t3 = 0; + } + { + std::basic_istream* t1 = 0; + std::basic_istream* t2 = 0; + std::basic_istream* t3 = 0; + } + { + std::basic_ostream* t1 = 0; + std::basic_ostream* t2 = 0; + std::basic_ostream* t3 = 0; + } + { + std::basic_iostream* t1 = 0; + std::basic_iostream* t2 = 0; + std::basic_iostream* t3 = 0; + } + { + std::basic_stringbuf* t1 = 0; + std::basic_stringbuf* t2 = 0; + std::basic_stringbuf* t3 = 0; + } + { + std::basic_istringstream* t1 = 0; + std::basic_istringstream* t2 = 0; + std::basic_istringstream* t3 = 0; + } + { + std::basic_ostringstream* t1 = 0; + std::basic_ostringstream* t2 = 0; + std::basic_ostringstream* t3 = 0; + } + { + std::basic_stringstream* t1 = 0; + std::basic_stringstream* t2 = 0; + std::basic_stringstream* t3 = 0; + } + { + std::basic_filebuf* t1 = 0; + std::basic_filebuf* t2 = 0; + std::basic_filebuf* t3 = 0; + } + { + std::basic_ifstream* t1 = 0; + std::basic_ifstream* t2 = 0; + std::basic_ifstream* t3 = 0; + } + { + std::basic_ofstream* t1 = 0; + std::basic_ofstream* t2 = 0; + std::basic_ofstream* t3 = 0; + } + { + std::basic_fstream* t1 = 0; + std::basic_fstream* t2 = 0; + std::basic_fstream* t3 = 0; + } + { + std::istreambuf_iterator* t1 = 0; + std::istreambuf_iterator* t2 = 0; + std::istreambuf_iterator* t3 = 0; + } + { + std::ostreambuf_iterator* t1 = 0; + std::ostreambuf_iterator* t2 = 0; + std::ostreambuf_iterator* t3 = 0; + } + { + std::ios* t1 = 0; + std::wios* t2 = 0; + } + { + std::streambuf* t1 = 0; + std::istream* t2 = 0; + std::ostream* t3 = 0; + std::iostream* t4 = 0; + } + { + std::stringbuf* t1 = 0; + std::istringstream* t2 = 0; + std::ostringstream* t3 = 0; + std::stringstream* t4 = 0; + } + { + std::filebuf* t1 = 0; + std::ifstream* t2 = 0; + std::ofstream* t3 = 0; + std::fstream* t4 = 0; + } + { + std::wstreambuf* t1 = 0; + std::wistream* t2 = 0; + std::wostream* t3 = 0; + std::wiostream* t4 = 0; + } + { + std::wstringbuf* t1 = 0; + std::wistringstream* t2 = 0; + std::wostringstream* t3 = 0; + std::wstringstream* t4 = 0; + } + { + std::wfilebuf* t1 = 0; + std::wifstream* t2 = 0; + std::wofstream* t3 = 0; + std::wfstream* t4 = 0; + } + { + std::fpos* t1 = 0; + std::streampos* t2 = 0; + std::wstreampos* t3 = 0; + } +} -- cgit v1.2.3