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