diff options
Diffstat (limited to 'test/std/numerics/numarray/template.slice.array/slice.arr.comp.assign/and.pass.cpp')
-rw-r--r-- | test/std/numerics/numarray/template.slice.array/slice.arr.comp.assign/and.pass.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/numerics/numarray/template.slice.array/slice.arr.comp.assign/and.pass.cpp b/test/std/numerics/numarray/template.slice.array/slice.arr.comp.assign/and.pass.cpp index dbcae8477..90bbe4ef3 100644 --- a/test/std/numerics/numarray/template.slice.array/slice.arr.comp.assign/and.pass.cpp +++ b/test/std/numerics/numarray/template.slice.array/slice.arr.comp.assign/and.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 // //===----------------------------------------------------------------------===// @@ -16,7 +15,7 @@ #include <valarray> #include <cassert> -int main() +int main(int, char**) { int a1[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}; int a2[] = {1, 2, 3, 4, 5}; @@ -40,4 +39,6 @@ int main() assert(v1[13] == 5); assert(v1[14] == 14); assert(v1[15] == 15); + + return 0; } |