diff options
Diffstat (limited to 'libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp')
-rw-r--r-- | libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp index 7d6da5b271e..8a3a361bb39 100644 --- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp @@ -22,7 +22,7 @@ namespace fs = std::filesystem; -int main() { +int main(int, char**) { { fs::path p; static_assert(!std::is_convertible<fs::path, std::ifstream>::value, @@ -49,4 +49,6 @@ int main() { // std::wifstream(const fs::path&, std::ios_base::openmode) is tested in // test/std/input.output/file.streams/fstreams/ofstream.cons/string.pass.cpp // which creates writable files. + + return 0; } |