diff options
Diffstat (limited to 'test/std/algorithms/alg.sorting/alg.binary.search/equal.range/equal_range_comp.pass.cpp')
-rw-r--r-- | test/std/algorithms/alg.sorting/alg.binary.search/equal.range/equal_range_comp.pass.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
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; } |