summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowbase.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowbase.pass.cpp')
-rw-r--r--libcxx/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowbase.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowbase.pass.cpp b/libcxx/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowbase.pass.cpp
index bd904ad6419..b730afa88ba 100644
--- a/libcxx/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowbase.pass.cpp
+++ b/libcxx/test/std/input.output/iostreams.base/std.ios.manip/fmtflags.manip/noshowbase.pass.cpp
@@ -18,7 +18,7 @@
struct testbuf : public std::streambuf {};
-int main()
+int main(int, char**)
{
testbuf sb;
std::ios ios(&sb);
@@ -26,4 +26,6 @@ int main()
std::ios_base& r = std::noshowbase(ios);
assert(&r == &ios);
assert(!(ios.flags() & std::ios::showbase));
+
+ return 0;
}
OpenPOWER on IntegriCloud