1 //===----------------------------------------------------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // <charconv> feature macros
11 
12 /*  Constant                                    Value
13     __cpp_lib_to_chars                          201611L
14 
15 */
16 
17 #include <charconv>
18 #include <cassert>
19 #include "test_macros.h"
20 
21 int main()
22 {
23 //  ensure that the macros that are supposed to be defined in <utility> are defined.
24 
25 /*
26 #if !defined(__cpp_lib_fooby)
27 # error "__cpp_lib_fooby is not defined"
28 #elif __cpp_lib_fooby < 201606L
29 # error "__cpp_lib_fooby has an invalid value"
30 #endif
31 */
32 }
33