diff options
Diffstat (limited to 'libcxx/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpos.pass.cpp')
-rw-r--r-- | libcxx/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpos.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpos.pass.cpp b/libcxx/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpos.pass.cpp index 06f1dd83620..2fb0d651154 100644 --- a/libcxx/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpos.pass.cpp +++ b/libcxx/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/showpos.pass.cpp @@ -18,11 +18,13 @@ struct testbuf : public std::streambuf {}; -int main() +int main(int, char**) { testbuf sb; std::ios ios(&sb); std::ios_base& r = std::showpos(ios); assert(&r == &ios); assert(ios.flags() & std::ios::showpos); + + return 0; } |