summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp')
-rw-r--r--libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp b/libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp
index 989b6dc5cb6..3e6a7d79ffd 100644
--- a/libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp
+++ b/libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp
@@ -45,7 +45,7 @@ void testRuntimeSpan(Span sp)
struct A{};
int iArr2[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
-int main ()
+int main(int, char**)
{
testRuntimeSpan(std::span<int> ());
testRuntimeSpan(std::span<long> ());
@@ -74,4 +74,6 @@ int main ()
std::string s;
testRuntimeSpan(std::span<std::string>(&s, (std::ptrdiff_t) 0));
testRuntimeSpan(std::span<std::string>(&s, 1));
+
+ return 0;
}
OpenPOWER on IntegriCloud