diff options
Diffstat (limited to 'libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp')
-rw-r--r-- | libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp b/libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp index 95a5cb69512..af8dc97a5e8 100644 --- a/libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp +++ b/libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp @@ -85,7 +85,7 @@ #pragma clang diagnostic ignored "-Wdeprecated-declarations" #endif -int main() +int main(int, char**) { std::FILE* fp = 0; std::fpos_t fpos = std::fpos_t(); @@ -154,4 +154,6 @@ int main() static_assert((std::is_same<decltype(std::puts("")), int>::value), ""); static_assert((std::is_same<decltype(std::vprintf(" ",va)), int>::value), ""); #endif + + return 0; } |