diff options
Diffstat (limited to 'test/std/algorithms/alg.sorting/alg.binary.search/equal.range')
-rw-r--r-- | test/std/algorithms/alg.sorting/alg.binary.search/equal.range/equal_range.pass.cpp | 11 | ||||
-rw-r--r-- | test/std/algorithms/alg.sorting/alg.binary.search/equal.range/equal_range_comp.pass.cpp | 11 |
2 files changed, 12 insertions, 10 deletions
diff --git a/test/std/algorithms/alg.sorting/alg.binary.search/equal.range/equal_range.pass.cpp b/test/std/algorithms/alg.sorting/alg.binary.search/equal.range/equal_range.pass.cpp index 02aea475c..e22bd5ad2 100644 --- a/test/std/algorithms/alg.sorting/alg.binary.search/equal.range/equal_range.pass.cpp +++ b/test/std/algorithms/alg.sorting/alg.binary.search/equal.range/equal_range.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 // //===----------------------------------------------------------------------===// @@ -70,7 +69,7 @@ test() test(Iter(v.data()), Iter(v.data()+v.size()), x); } -int main() +int main(int, char**) { int d[] = {0, 1, 2, 3}; for (int* e = d; e <= d+4; ++e) @@ -85,4 +84,6 @@ int main() #if TEST_STD_VER > 17 static_assert(test_constexpr()); #endif + + return 0; } diff --git a/test/std/algorithms/alg.sorting/alg.binary.search/equal.range/equal_range_comp.pass.cpp b/test/std/algorithms/alg.sorting/alg.binary.search/equal.range/equal_range_comp.pass.cpp index 960e2c1fa..ab36e7033 100644 --- a/test/std/algorithms/alg.sorting/alg.binary.search/equal.range/equal_range_comp.pass.cpp +++ b/test/std/algorithms/alg.sorting/alg.binary.search/equal.range/equal_range_comp.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 // //===----------------------------------------------------------------------===// @@ -69,7 +68,7 @@ test() test(Iter(v.data()), Iter(v.data()+v.size()), x); } -int main() +int main(int, char**) { int d[] = {3, 2, 1, 0}; for (int* e = d; e <= d+4; ++e) @@ -84,4 +83,6 @@ int main() #if TEST_STD_VER > 17 static_assert(test_constexpr()); #endif + + return 0; } |