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 // <tuple> feature macros
12 
13 /*  Constant                                    Value
14     __cpp_lib_apply                             201603L
15     __cpp_lib_make_from_tuple                   201606L
16     __cpp_lib_tuple_element_t                   201402L
17     __cpp_lib_tuples_by_type                    201304L
18 
19 */
20 
21 #include <tuple>
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 <tuple> 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