]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/std/language.support/support.limits/support.limits.general/concepts.version.pass.cpp
Vendor import of libc++ trunk r351319 (just before the release_80
[FreeBSD/FreeBSD.git] / test / std / language.support / support.limits / support.limits.general / concepts.version.pass.cpp
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 // <concepts> feature macros
12
13 /*  Constant                                    Value
14     __cpp_lib_concepts                          201806L
15
16 */
17
18 // XFAIL
19 // #include <concepts>
20 #include <cassert>
21 #include "test_macros.h"
22
23 int main()
24 {
25 //  ensure that the macros that are supposed to be defined in <concepts> are defined.
26
27 /*
28 #if !defined(__cpp_lib_fooby)
29 # error "__cpp_lib_fooby is not defined"
30 #elif __cpp_lib_fooby < 201606L
31 # error "__cpp_lib_fooby has an invalid value"
32 #endif
33 */
34 }