summaryrefslogtreecommitdiff
path: root/test/std/containers/views/span.cons/assign.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/containers/views/span.cons/assign.pass.cpp')
-rw-r--r--test/std/containers/views/span.cons/assign.pass.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/containers/views/span.cons/assign.pass.cpp b/test/std/containers/views/span.cons/assign.pass.cpp
index cb2100461..3f8d5f418 100644
--- a/test/std/containers/views/span.cons/assign.pass.cpp
+++ b/test/std/containers/views/span.cons/assign.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
@@ -38,7 +37,7 @@ constexpr int carr3[] = {7,8};
std::string strs[] = {"ABC", "DEF", "GHI"};
-int main ()
+int main(int, char**)
{
// constexpr dynamically sized assignment
@@ -290,4 +289,6 @@ int main ()
for (size_t j = i; j < std::size(spans); ++j)
assert((doAssign(spans[i], spans[j])));
}
+
+ return 0;
}