summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/close.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/close.pass.cpp')
-rw-r--r--libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/close.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/close.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/close.pass.cpp
index 00a70419153..3ea39985ecb 100644
--- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/close.pass.cpp
+++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/close.pass.cpp
@@ -17,7 +17,7 @@
#include <cassert>
#include "platform_support.h"
-int main()
+int main(int, char**)
{
std::string temp = get_temp_file_name();
{
@@ -38,4 +38,6 @@ int main()
assert(!fs.is_open());
}
std::remove(temp.c_str());
+
+ return 0;
}
OpenPOWER on IntegriCloud