summaryrefslogtreecommitdiff
path: root/test/std/iterators/iterator.container/size.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/iterators/iterator.container/size.pass.cpp')
-rw-r--r--test/std/iterators/iterator.container/size.pass.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/iterators/iterator.container/size.pass.cpp b/test/std/iterators/iterator.container/size.pass.cpp
index 6d3bc5128..db215b854 100644
--- a/test/std/iterators/iterator.container/size.pass.cpp
+++ b/test/std/iterators/iterator.container/size.pass.cpp
@@ -1,9 +1,8 @@
//===----------------------------------------------------------------------===//
//
-// 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
//
//===----------------------------------------------------------------------===//
@@ -64,7 +63,7 @@ void test_const_array( const T (&array)[Sz] )
assert ( std::size(array) == Sz );
}
-int main()
+int main(int, char**)
{
std::vector<int> v; v.push_back(1);
std::list<int> l; l.push_back(2);
@@ -88,4 +87,6 @@ int main()
static constexpr int arrA [] { 1, 2, 3 };
test_const_array ( arrA );
+
+ return 0;
}