summaryrefslogtreecommitdiff
path: root/test/std/utilities/variant/variant.relops/relops_bool_conv.fail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/utilities/variant/variant.relops/relops_bool_conv.fail.cpp')
-rw-r--r--test/std/utilities/variant/variant.relops/relops_bool_conv.fail.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/utilities/variant/variant.relops/relops_bool_conv.fail.cpp b/test/std/utilities/variant/variant.relops/relops_bool_conv.fail.cpp
index ab68bc420..e46893465 100644
--- a/test/std/utilities/variant/variant.relops/relops_bool_conv.fail.cpp
+++ b/test/std/utilities/variant/variant.relops/relops_bool_conv.fail.cpp
@@ -1,10 +1,9 @@
// -*- C++ -*-
//===----------------------------------------------------------------------===//
//
-// 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
//
//===----------------------------------------------------------------------===//
@@ -73,7 +72,7 @@ inline constexpr MyBoolExplicit operator>=(const ComparesToMyBoolExplicit& LHS,
}
-int main() {
+int main(int, char**) {
using V = std::variant<int, ComparesToMyBoolExplicit>;
V v1(42);
V v2(101);
@@ -85,4 +84,6 @@ int main() {
(void)(v1 <= v2); // expected-note {{here}}
(void)(v1 > v2); // expected-note {{here}}
(void)(v1 >= v2); // expected-note {{here}}
+
+ return 0;
}