summaryrefslogtreecommitdiff
path: root/test/std/containers/views/span.cons/deduct.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/containers/views/span.cons/deduct.pass.cpp')
-rw-r--r--test/std/containers/views/span.cons/deduct.pass.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/containers/views/span.cons/deduct.pass.cpp b/test/std/containers/views/span.cons/deduct.pass.cpp
index 098215c83..188463bc3 100644
--- a/test/std/containers/views/span.cons/deduct.pass.cpp
+++ b/test/std/containers/views/span.cons/deduct.pass.cpp
@@ -1,10 +1,9 @@
// -*- C++ -*-
//===------------------------------ span ---------------------------------===//
//
-// The LLVM Compiler Infrastructure
-//
-// This file is dual licensed under the MIT and the University of Illinois Open
-// Source Licenses. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03, c++11, c++14, c++17
@@ -41,7 +40,7 @@
// Disable the missing braces warning for this reason.
#include "disable_missing_braces_warning.h"
-int main ()
+int main(int, char**)
{
{
int arr[] = {1,2,3};
@@ -84,4 +83,6 @@ int main ()
assert((size_t)s.size() == str.size());
assert((std::equal(s.begin(), s.end(), std::begin(s), std::end(s))));
}
+
+ return 0;
}