diff options
Diffstat (limited to 'test/std/algorithms/alg.nonmodifying/alg.search/search.pass.cpp')
-rw-r--r-- | test/std/algorithms/alg.nonmodifying/alg.search/search.pass.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/algorithms/alg.nonmodifying/alg.search/search.pass.cpp b/test/std/algorithms/alg.nonmodifying/alg.search/search.pass.cpp index d483800c2..5aaa832de 100644 --- a/test/std/algorithms/alg.nonmodifying/alg.search/search.pass.cpp +++ b/test/std/algorithms/alg.nonmodifying/alg.search/search.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 // //===----------------------------------------------------------------------===// @@ -96,7 +95,7 @@ test() assert(std::search(Iter1(ij), Iter1(ij+sj), Iter2(ik), Iter2(ik+sk)) == Iter1(ij+6)); } -int main() +int main(int, char**) { test<forward_iterator<const int*>, forward_iterator<const int*> >(); test<forward_iterator<const int*>, bidirectional_iterator<const int*> >(); @@ -122,4 +121,6 @@ int main() #if TEST_STD_VER > 17 static_assert(test_constexpr()); #endif + + return 0; } |