diff options
Diffstat (limited to 'test/std/utilities/variant/variant.monostate/monostate.pass.cpp')
-rw-r--r-- | test/std/utilities/variant/variant.monostate/monostate.pass.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/utilities/variant/variant.monostate/monostate.pass.cpp b/test/std/utilities/variant/variant.monostate/monostate.pass.cpp index 76cddf900..1ba75a779 100644 --- a/test/std/utilities/variant/variant.monostate/monostate.pass.cpp +++ b/test/std/utilities/variant/variant.monostate/monostate.pass.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 // //===----------------------------------------------------------------------===// @@ -17,7 +16,7 @@ #include <type_traits> #include <variant> -int main() { +int main(int, char**) { using M = std::monostate; static_assert(std::is_trivially_default_constructible<M>::value, ""); static_assert(std::is_trivially_copy_constructible<M>::value, ""); @@ -25,4 +24,6 @@ int main() { static_assert(std::is_trivially_destructible<M>::value, ""); constexpr M m{}; ((void)m); + + return 0; } |