summaryrefslogtreecommitdiff
path: root/test/std/utilities/meta/meta.rel/is_base_of.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/utilities/meta/meta.rel/is_base_of.pass.cpp')
-rw-r--r--test/std/utilities/meta/meta.rel/is_base_of.pass.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/utilities/meta/meta.rel/is_base_of.pass.cpp b/test/std/utilities/meta/meta.rel/is_base_of.pass.cpp
index 4b17a9f96..ec27581a4 100644
--- a/test/std/utilities/meta/meta.rel/is_base_of.pass.cpp
+++ b/test/std/utilities/meta/meta.rel/is_base_of.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
//
//===----------------------------------------------------------------------===//
@@ -41,7 +40,7 @@ struct B1 : B {};
struct B2 : B {};
struct D : private B1, private B2 {};
-int main()
+int main(int, char**)
{
test_is_base_of<B, D>();
test_is_base_of<B1, D>();
@@ -54,4 +53,6 @@ int main()
test_is_not_base_of<B&, D&>();
test_is_not_base_of<B[3], D[3]>();
test_is_not_base_of<int, int>();
+
+ return 0;
}