diff options
Diffstat (limited to 'libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/nonmember_swap.pass.cpp')
-rw-r--r-- | libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/nonmember_swap.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/nonmember_swap.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/nonmember_swap.pass.cpp index 4190db3a6c1..3cbf508d94e 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/nonmember_swap.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/nonmember_swap.pass.cpp @@ -36,7 +36,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; @@ -96,4 +96,6 @@ int main() assert(x == 3.25); } std::remove(temp2.c_str()); + + return 0; } |