summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/member_swap.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/member_swap.pass.cpp')
-rw-r--r--libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/member_swap.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/member_swap.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/member_swap.pass.cpp
index 89e32e97f76..fcfb94ecf20 100644
--- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/member_swap.pass.cpp
+++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/member_swap.pass.cpp
@@ -35,7 +35,7 @@ std::pair<std::string, std::string> get_temp_file_names() {
return names;
}
-int main()
+int main(int, char**)
{
std::pair<std::string, std::string> temp_files = get_temp_file_names();
std::string& temp1 = temp_files.first;
@@ -95,4 +95,6 @@ int main()
assert(x == 3.25);
}
std::remove(temp2.c_str());
+
+ return 0;
}
OpenPOWER on IntegriCloud