summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/nonmember_swap.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/nonmember_swap.pass.cpp')
-rw-r--r--libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/nonmember_swap.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/nonmember_swap.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/nonmember_swap.pass.cpp
index c008fe50fb7..c4cd592d11e 100644
--- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/nonmember_swap.pass.cpp
+++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/nonmember_swap.pass.cpp
@@ -17,7 +17,7 @@
#include <fstream>
#include <cassert>
-int main()
+int main(int, char**)
{
{
std::ifstream fs1("test.dat");
@@ -39,4 +39,6 @@ int main()
fs2 >> x;
assert(x == 3.25);
}
+
+ return 0;
}
OpenPOWER on IntegriCloud