summaryrefslogtreecommitdiff
path: root/test/libcxx/containers/sequences/array/array.zero/db_indexing.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/libcxx/containers/sequences/array/array.zero/db_indexing.pass.cpp')
-rw-r--r--test/libcxx/containers/sequences/array/array.zero/db_indexing.pass.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/libcxx/containers/sequences/array/array.zero/db_indexing.pass.cpp b/test/libcxx/containers/sequences/array/array.zero/db_indexing.pass.cpp
index 4d6ad6907..cb5e99b29 100644
--- a/test/libcxx/containers/sequences/array/array.zero/db_indexing.pass.cpp
+++ b/test/libcxx/containers/sequences/array/array.zero/db_indexing.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
//
//===----------------------------------------------------------------------===//
@@ -30,7 +29,7 @@ inline bool CheckDebugThrows(Array& Arr, size_t Index) {
return false;
}
-int main()
+int main(int, char**)
{
{
typedef std::array<int, 0> C;
@@ -50,4 +49,6 @@ int main()
assert(CheckDebugThrows(cc, 0));
assert(CheckDebugThrows(cc, 1));
}
+
+ return 0;
}