summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp')
-rw-r--r--libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp
index 8859b07969d..47760a91627 100644
--- a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp
+++ b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/underflow.pass.cpp
@@ -36,7 +36,7 @@ struct test_buf
virtual int_type underflow() {return base::underflow();}
};
-int main()
+int main(int, char**)
{
{
test_buf<char> f;
@@ -121,4 +121,6 @@ int main()
assert(f.sbumpc() == 0x4E53);
assert(f.sbumpc() == static_cast<Traits::int_type>(-1));
}
+
+ return 0;
}
OpenPOWER on IntegriCloud