1 //===----------------------------------------------------------------------===//
2 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
3 // See https://llvm.org/LICENSE.txt for license information.
4 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5 //
6 //===----------------------------------------------------------------------===//
7 
8 // UNSUPPORTED: c++03, c++11, c++14, c++17
9 // UNSUPPORTED: libcpp-has-no-incomplete-format
10 
11 // <format>
12 
13 // Namespace std typedefs:
14 // using format_args = basic_format_args<format_context>;
15 // using wformat_args = basic_format_args<wformat_context>;
16 
17 #include <format>
18 #include <vector>
19 #include <type_traits>
20 
21 #include "test_macros.h"
22 
23 static_assert(std::is_same_v<std::format_args,
24                              std::basic_format_args<std::format_context>>);
25 #ifndef TEST_HAS_NO_WIDE_CHARACTERS
26 static_assert(std::is_same_v<std::wformat_args,
27                              std::basic_format_args<std::wformat_context>>);
28 #endif
29 
30 // Required for MSVC internal test runner compatibility.
main(int,char **)31 int main(int, char**) { return 0; }
32