summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp')
-rw-r--r--libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp
index 36546035cce..15a2c702393 100644
--- a/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/string.pass.cpp
+++ b/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/string.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();
{
@@ -42,4 +42,6 @@ int main()
assert(x == 3.25);
}
std::remove(temp.c_str());
+
+ return 0;
}
OpenPOWER on IntegriCloud