diff options
Diffstat (limited to 'test/std/input.output/string.streams/ostringstream/types.pass.cpp')
-rw-r--r-- | test/std/input.output/string.streams/ostringstream/types.pass.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/input.output/string.streams/ostringstream/types.pass.cpp b/test/std/input.output/string.streams/ostringstream/types.pass.cpp index c9cb76378..0da5f98d4 100644 --- a/test/std/input.output/string.streams/ostringstream/types.pass.cpp +++ b/test/std/input.output/string.streams/ostringstream/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 <sstream> #include <type_traits> -int main() +int main(int, char**) { static_assert((std::is_base_of<std::basic_ostream<char>, std::basic_ostringstream<char> >::value), ""); static_assert((std::is_same<std::basic_ostringstream<char>::char_type, char>::value), ""); @@ -33,4 +32,6 @@ int main() static_assert((std::is_same<std::basic_ostringstream<char>::pos_type, std::char_traits<char>::pos_type>::value), ""); static_assert((std::is_same<std::basic_ostringstream<char>::off_type, std::char_traits<char>::off_type>::value), ""); static_assert((std::is_same<std::basic_ostringstream<char>::allocator_type, std::allocator<char> >::value), ""); + + return 0; } |