summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp')
-rw-r--r--libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp b/libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp
index bffeaf64c74..800bd1b4b1c 100644
--- a/libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp
+++ b/libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp
@@ -30,7 +30,7 @@ struct some_alloc
some_alloc(const some_alloc&);
};
-int main()
+int main(int, char**)
{
#if defined(_LIBCPP_VERSION)
{
@@ -50,4 +50,6 @@ int main()
static_assert(!std::is_nothrow_default_constructible<C>::value, "");
}
#endif // _LIBCPP_VERSION
+
+ return 0;
}
OpenPOWER on IntegriCloud