regex.version.pass.cpp 807 B

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