diff options
Diffstat (limited to 'libcxx/test/std/numerics/complex.number/complex.ops/stream_output.pass.cpp')
-rw-r--r-- | libcxx/test/std/numerics/complex.number/complex.ops/stream_output.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/numerics/complex.number/complex.ops/stream_output.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.ops/stream_output.pass.cpp index 2e72bd8a5e1..2f1fa91e8dc 100644 --- a/libcxx/test/std/numerics/complex.number/complex.ops/stream_output.pass.cpp +++ b/libcxx/test/std/numerics/complex.number/complex.ops/stream_output.pass.cpp @@ -16,10 +16,12 @@ #include <sstream> #include <cassert> -int main() +int main(int, char**) { std::complex<double> c(1, 2); std::ostringstream os; os << c; assert(os.str() == "(1,2)"); + + return 0; } |