summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_path.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_path.pass.cpp')
-rw-r--r--libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_path.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_path.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_path.pass.cpp
index 7f7ce344f86..ea244e1a32d 100644
--- a/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_path.pass.cpp
+++ b/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_path.pass.cpp
@@ -19,7 +19,7 @@
namespace fs = std::filesystem;
-int main() {
+int main(int, char**) {
fs::path p = get_temp_file_name();
{
@@ -52,4 +52,6 @@ int main() {
assert(f.sbumpc() == L'3');
}
remove(p.c_str());
+
+ return 0;
}
OpenPOWER on IntegriCloud