diff options
Diffstat (limited to 'test/std/input.output/iostreams.base/ios.base/ios.base.locales')
-rw-r--r-- | test/std/input.output/iostreams.base/ios.base/ios.base.locales/getloc.pass.cpp | 11 | ||||
-rw-r--r-- | test/std/input.output/iostreams.base/ios.base/ios.base.locales/imbue.pass.cpp | 11 |
2 files changed, 12 insertions, 10 deletions
diff --git a/test/std/input.output/iostreams.base/ios.base/ios.base.locales/getloc.pass.cpp b/test/std/input.output/iostreams.base/ios.base/ios.base.locales/getloc.pass.cpp index 8f265bc69..06b8d83c7 100644 --- a/test/std/input.output/iostreams.base/ios.base/ios.base.locales/getloc.pass.cpp +++ b/test/std/input.output/iostreams.base/ios.base/ios.base.locales/getloc.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 // //===----------------------------------------------------------------------===// @@ -27,8 +26,10 @@ public: } }; -int main() +int main(int, char**) { const test t; assert(t.getloc().name() == std::string("C")); + + return 0; } diff --git a/test/std/input.output/iostreams.base/ios.base/ios.base.locales/imbue.pass.cpp b/test/std/input.output/iostreams.base/ios.base/ios.base.locales/imbue.pass.cpp index 1cad020b0..ad8898a17 100644 --- a/test/std/input.output/iostreams.base/ios.base/ios.base.locales/imbue.pass.cpp +++ b/test/std/input.output/iostreams.base/ios.base/ios.base.locales/imbue.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 // //===----------------------------------------------------------------------===// @@ -75,7 +74,7 @@ void f3(std::ios_base::event ev, std::ios_base& stream, int index) } } -int main() +int main(int, char**) { test t; std::ios_base& b = t; @@ -88,4 +87,6 @@ int main() assert(f1_called); assert(f2_called); assert(f3_called); + + return 0; } |