diff options
author | Eric Fiselier <eric@efcs.ca> | 2014-12-20 01:40:03 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2014-12-20 01:40:03 +0000 |
commit | 5a83710e371fe68a06e6e3876c6a2c8b820a8976 (patch) | |
tree | afde4c82ad6704681781c5cd49baa3fbd05c85db /libcxx/test/input.output/iostreams.base/std.ios.manip | |
parent | f11e8eab527fba316c64112f6e05de1a79693a3e (diff) | |
download | bcm5719-llvm-5a83710e371fe68a06e6e3876c6a2c8b820a8976.tar.gz bcm5719-llvm-5a83710e371fe68a06e6e3876c6a2c8b820a8976.zip |
Move test into test/std subdirectory.
llvm-svn: 224658
Diffstat (limited to 'libcxx/test/input.output/iostreams.base/std.ios.manip')
28 files changed, 0 insertions, 788 deletions
diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/adjustfield.manip/internal.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/adjustfield.manip/internal.pass.cpp deleted file mode 100644 index 461c7774248..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/adjustfield.manip/internal.pass.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& internal(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::internal(ios); - assert(&r == &ios); - assert(ios.flags() & std::ios::internal); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/adjustfield.manip/left.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/adjustfield.manip/left.pass.cpp deleted file mode 100644 index aa2ca6f27ef..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/adjustfield.manip/left.pass.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& left(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::left(ios); - assert(&r == &ios); - assert(ios.flags() & std::ios::left); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/adjustfield.manip/right.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/adjustfield.manip/right.pass.cpp deleted file mode 100644 index 08056e8f353..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/adjustfield.manip/right.pass.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& right(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::right(ios); - assert(&r == &ios); - assert(ios.flags() & std::ios::right); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/basefield.manip/dec.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/basefield.manip/dec.pass.cpp deleted file mode 100644 index cbe03bceb2b..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/basefield.manip/dec.pass.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& dec(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::dec(ios); - assert(&r == &ios); - assert(ios.flags() & std::ios::dec); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/basefield.manip/hex.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/basefield.manip/hex.pass.cpp deleted file mode 100644 index 281a59cdafd..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/basefield.manip/hex.pass.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& hex(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::hex(ios); - assert(&r == &ios); - assert(ios.flags() & std::ios::hex); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/basefield.manip/oct.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/basefield.manip/oct.pass.cpp deleted file mode 100644 index 5ebfea86f4f..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/basefield.manip/oct.pass.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& oct(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::oct(ios); - assert(&r == &ios); - assert(ios.flags() & std::ios::oct); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/error.reporting/iostream_category.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/error.reporting/iostream_category.pass.cpp deleted file mode 100644 index a93c7b4c2fe..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/error.reporting/iostream_category.pass.cpp +++ /dev/null @@ -1,23 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// const error_category& iostream_category(); - -#include <ios> -#include <cassert> -#include <string> - -int main() -{ - const std::error_category& e_cat1 = std::iostream_category(); - std::string m1 = e_cat1.name(); - assert(m1 == "iostream"); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/error.reporting/make_error_code.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/error.reporting/make_error_code.pass.cpp deleted file mode 100644 index f764fa6fd79..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/error.reporting/make_error_code.pass.cpp +++ /dev/null @@ -1,24 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// error_code make_error_code(io_errc e); - -#include <ios> -#include <cassert> - -int main() -{ - { - std::error_code ec = make_error_code(std::io_errc::stream); - assert(ec.value() == static_cast<int>(std::io_errc::stream)); - assert(ec.category() == std::iostream_category()); - } -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/error.reporting/make_error_condition.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/error.reporting/make_error_condition.pass.cpp deleted file mode 100644 index 30931bae0bd..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/error.reporting/make_error_condition.pass.cpp +++ /dev/null @@ -1,24 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// error_condition make_error_condition(io_errc e); - -#include <ios> -#include <cassert> - -int main() -{ - { - const std::error_condition ec1 = std::make_error_condition(std::io_errc::stream); - assert(ec1.value() == static_cast<int>(std::io_errc::stream)); - assert(ec1.category() == std::iostream_category()); - } -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/floatfield.manip/defaultfloat.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/floatfield.manip/defaultfloat.pass.cpp deleted file mode 100644 index f202bc4c881..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/floatfield.manip/defaultfloat.pass.cpp +++ /dev/null @@ -1,30 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& defaultfloat(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::defaultfloat(ios); - assert(&r == &ios); - assert(!(ios.flags() & std::ios::fixed)); - assert(!(ios.flags() & std::ios::scientific)); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/floatfield.manip/fixed.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/floatfield.manip/fixed.pass.cpp deleted file mode 100644 index 55bf2648f3e..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/floatfield.manip/fixed.pass.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& fixed(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::fixed(ios); - assert(&r == &ios); - assert(ios.flags() & std::ios::fixed); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/floatfield.manip/hexfloat.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/floatfield.manip/hexfloat.pass.cpp deleted file mode 100644 index 2920cca83d0..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/floatfield.manip/hexfloat.pass.cpp +++ /dev/null @@ -1,30 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& hexfloat(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::hexfloat(ios); - assert(&r == &ios); - assert(ios.flags() & std::ios::fixed); - assert(ios.flags() & std::ios::scientific); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/floatfield.manip/scientific.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/floatfield.manip/scientific.pass.cpp deleted file mode 100644 index 53cfd8171f3..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/floatfield.manip/scientific.pass.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& scientific(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::scientific(ios); - assert(&r == &ios); - assert(ios.flags() & std::ios::scientific); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/boolalpha.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/boolalpha.pass.cpp deleted file mode 100644 index ca8cd93f05b..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/boolalpha.pass.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& boolalpha(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::boolalpha(ios); - assert(&r == &ios); - assert(ios.flags() & std::ios::boolalpha); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noboolalpha.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noboolalpha.pass.cpp deleted file mode 100644 index ebc0aab67db..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noboolalpha.pass.cpp +++ /dev/null @@ -1,30 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& noboolalpha(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::boolalpha(ios); - std::ios_base& r = std::noboolalpha(ios); - assert(&r == &ios); - assert(!(ios.flags() & std::ios::boolalpha)); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowbase.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowbase.pass.cpp deleted file mode 100644 index 91608f0f503..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowbase.pass.cpp +++ /dev/null @@ -1,30 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& noshowbase(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::showbase(ios); - std::ios_base& r = std::noshowbase(ios); - assert(&r == &ios); - assert(!(ios.flags() & std::ios::showbase)); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowpoint.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowpoint.pass.cpp deleted file mode 100644 index 6e26416c5cd..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowpoint.pass.cpp +++ /dev/null @@ -1,30 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& noshowpoint(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::showpoint(ios); - std::ios_base& r = std::noshowpoint(ios); - assert(&r == &ios); - assert(!(ios.flags() & std::ios::showpoint)); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowpos.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowpos.pass.cpp deleted file mode 100644 index 5e6911c22b9..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowpos.pass.cpp +++ /dev/null @@ -1,30 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& noshowpos(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::showpos(ios); - std::ios_base& r = std::noshowpos(ios); - assert(&r == &ios); - assert(!(ios.flags() & std::ios::showpos)); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noskipws.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noskipws.pass.cpp deleted file mode 100644 index e78f5f884cc..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noskipws.pass.cpp +++ /dev/null @@ -1,30 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& noskipws(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::skipws(ios); - std::ios_base& r = std::noskipws(ios); - assert(&r == &ios); - assert(!(ios.flags() & std::ios::skipws)); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/nounitbuf.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/nounitbuf.pass.cpp deleted file mode 100644 index 5708038e5ed..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/nounitbuf.pass.cpp +++ /dev/null @@ -1,30 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& nounitbuf(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::unitbuf(ios); - std::ios_base& r = std::nounitbuf(ios); - assert(&r == &ios); - assert(!(ios.flags() & std::ios::unitbuf)); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/nouppercase.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/nouppercase.pass.cpp deleted file mode 100644 index 76fac604b34..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/nouppercase.pass.cpp +++ /dev/null @@ -1,30 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& nouppercase(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::uppercase(ios); - std::ios_base& r = std::nouppercase(ios); - assert(&r == &ios); - assert(!(ios.flags() & std::ios::uppercase)); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showbase.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showbase.pass.cpp deleted file mode 100644 index ddf3a855096..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showbase.pass.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& showbase(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::showbase(ios); - assert(&r == &ios); - assert(ios.flags() & std::ios::showbase); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpoint.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpoint.pass.cpp deleted file mode 100644 index 79ae3b6e27a..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpoint.pass.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& showpoint(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::showpoint(ios); - assert(&r == &ios); - assert(ios.flags() & std::ios::showpoint); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpos.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpos.pass.cpp deleted file mode 100644 index 226542614c1..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpos.pass.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& showpos(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::showpos(ios); - assert(&r == &ios); - assert(ios.flags() & std::ios::showpos); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/skipws.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/skipws.pass.cpp deleted file mode 100644 index 4ea3e448fe0..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/skipws.pass.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& skipws(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::skipws(ios); - assert(&r == &ios); - assert(ios.flags() & std::ios::skipws); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/unitbuf.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/unitbuf.pass.cpp deleted file mode 100644 index 99a33c71c89..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/unitbuf.pass.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& unitbuf(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::unitbuf(ios); - assert(&r == &ios); - assert(ios.flags() & std::ios::unitbuf); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/uppercase.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/uppercase.pass.cpp deleted file mode 100644 index 1a19e2aa636..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/fmtflags.manip/uppercase.pass.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// <ios> - -// class ios_base - -// ios_base& uppercase(ios_base& str); - -#include <ios> -#include <streambuf> -#include <cassert> - -struct testbuf : public std::streambuf {}; - -int main() -{ - testbuf sb; - std::ios ios(&sb); - std::ios_base& r = std::uppercase(ios); - assert(&r == &ios); - assert(ios.flags() & std::ios::uppercase); -} diff --git a/libcxx/test/input.output/iostreams.base/std.ios.manip/nothing_to_do.pass.cpp b/libcxx/test/input.output/iostreams.base/std.ios.manip/nothing_to_do.pass.cpp deleted file mode 100644 index b58f5c55b64..00000000000 --- a/libcxx/test/input.output/iostreams.base/std.ios.manip/nothing_to_do.pass.cpp +++ /dev/null @@ -1,12 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -int main() -{ -} |