summaryrefslogtreecommitdiff
path: root/test/std/numerics/numarray/template.indirect.array/indirect.array.comp.assign/divide.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/numerics/numarray/template.indirect.array/indirect.array.comp.assign/divide.pass.cpp')
-rw-r--r--test/std/numerics/numarray/template.indirect.array/indirect.array.comp.assign/divide.pass.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/numerics/numarray/template.indirect.array/indirect.array.comp.assign/divide.pass.cpp b/test/std/numerics/numarray/template.indirect.array/indirect.array.comp.assign/divide.pass.cpp
index 11b5d83fe..1a9ca265a 100644
--- a/test/std/numerics/numarray/template.indirect.array/indirect.array.comp.assign/divide.pass.cpp
+++ b/test/std/numerics/numarray/template.indirect.array/indirect.array.comp.assign/divide.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, 16, 17, 18, 19, 20, 21, 22, 23,
@@ -74,4 +73,6 @@ int main()
assert(v1[38] == 38);
assert(v1[39] == 39);
assert(v1[40] == 40);
+
+ return 0;
}