execution.version.pass.cpp 832 B

123456789101112131415161718192021222324252627282930313233
  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. // <execution> feature macros
  11. /* Constant Value
  12. __cpp_lib_execution 201603L
  13. */
  14. // XFAIL
  15. // #include <execution>
  16. #include "test_macros.h"
  17. int main()
  18. {
  19. // ensure that the macros that are supposed to be defined in <execution> are defined.
  20. /*
  21. #if !defined(__cpp_lib_fooby)
  22. # error "__cpp_lib_fooby is not defined"
  23. #elif __cpp_lib_fooby < 201606L
  24. # error "__cpp_lib_fooby has an invalid value"
  25. #endif
  26. */
  27. }