diff options
Diffstat (limited to 'test/std/thread/futures/futures.future_error/code.pass.cpp')
-rw-r--r-- | test/std/thread/futures/futures.future_error/code.pass.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/std/thread/futures/futures.future_error/code.pass.cpp b/test/std/thread/futures/futures.future_error/code.pass.cpp index 35d44df5b..53acba393 100644 --- a/test/std/thread/futures/futures.future_error/code.pass.cpp +++ b/test/std/thread/futures/futures.future_error/code.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 // //===----------------------------------------------------------------------===// // @@ -22,7 +21,7 @@ #include "test_macros.h" -int main() +int main(int, char**) { { std::error_code ec = std::make_error_code(std::future_errc::broken_promise); @@ -54,4 +53,6 @@ int main() assert(f.code() == std::make_error_code(std::future_errc::no_state)); } #endif + + return 0; } |