summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp')
-rw-r--r--libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp b/libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp
index 326d7bb589e..d57e7ad1825 100644
--- a/libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp
+++ b/libcxx/test/std/utilities/tuple/tuple.general/tuple.smartptr.pass.cpp
@@ -15,7 +15,7 @@
#include <tuple>
#include <memory>
-int main () {
+int main(int, char**) {
{
std::tuple<std::unique_ptr<char>> up;
std::tuple<std::shared_ptr<char>> sp;
@@ -29,4 +29,6 @@ int main () {
// Smart pointers of type 'T[N]' are not tested here since they are not
// supported by the standard nor by libc++'s implementation.
// See https://reviews.llvm.org/D21320 for more information.
+
+ return 0;
}
OpenPOWER on IntegriCloud