diff options
Diffstat (limited to 'test/std/re/re.regex/types.pass.cpp')
-rw-r--r-- | test/std/re/re.regex/types.pass.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/re/re.regex/types.pass.cpp b/test/std/re/re.regex/types.pass.cpp index 2e48b4e84..a13ad180d 100644 --- a/test/std/re/re.regex/types.pass.cpp +++ b/test/std/re/re.regex/types.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 // //===----------------------------------------------------------------------===// @@ -24,7 +23,7 @@ #include <type_traits> #include "test_macros.h" -int main() +int main(int, char**) { static_assert((std::is_same<std::basic_regex<char>::value_type, char>::value), ""); static_assert((std::is_same<std::basic_regex<char>::traits_type, std::regex_traits<char> >::value), ""); @@ -39,4 +38,6 @@ int main() static_assert((std::is_same<std::basic_regex<wchar_t>::flag_type, std::regex_constants::syntax_option_type>::value), ""); static_assert((std::is_same<std::basic_regex<wchar_t>::locale_type, std::locale>::value), ""); + + return 0; } |