summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.pass.cpp')
-rw-r--r--libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.pass.cpp
index 689622741d0..5bf58814d26 100644
--- a/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.pass.cpp
+++ b/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.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();
{
@@ -54,4 +54,6 @@ int main()
assert(c == L'a');
}
std::remove(temp.c_str());
+
+ return 0;
}
OpenPOWER on IntegriCloud