Differential D47360 Diff 219818 test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
Changeset View
Changeset View
Standalone View
Standalone View
test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
Show First 20 Lines • Show All 991 Lines • ▼ Show 20 Lines | |||||
# error "__cpp_lib_math_special_functions should have the value 201603L in c++17" | # error "__cpp_lib_math_special_functions should have the value 201603L in c++17" | ||||
# endif | # endif | ||||
# else // _LIBCPP_VERSION | # else // _LIBCPP_VERSION | ||||
# ifdef __cpp_lib_math_special_functions | # ifdef __cpp_lib_math_special_functions | ||||
# error "__cpp_lib_math_special_functions should not be defined because it is unimplemented in libc++!" | # error "__cpp_lib_math_special_functions should not be defined because it is unimplemented in libc++!" | ||||
# endif | # endif | ||||
# endif | # endif | ||||
# if !defined(_LIBCPP_VERSION) | # ifndef __cpp_lib_memory_resource | ||||
# ifndef __cpp_lib_memory_resource | # error "__cpp_lib_memory_resource should be defined in c++17" | ||||
# error "__cpp_lib_memory_resource should be defined in c++17" | # endif | ||||
# endif | # if __cpp_lib_memory_resource != 201603L | ||||
# if __cpp_lib_memory_resource != 201603L | # error "__cpp_lib_memory_resource should have the value 201603L in c++17" | ||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++17" | |||||
# endif | |||||
# else // _LIBCPP_VERSION | |||||
# ifdef __cpp_lib_memory_resource | |||||
# error "__cpp_lib_memory_resource should not be defined because it is unimplemented in libc++!" | |||||
# endif | |||||
# endif | # endif | ||||
# ifndef __cpp_lib_node_extract | # ifndef __cpp_lib_node_extract | ||||
# error "__cpp_lib_node_extract should be defined in c++17" | # error "__cpp_lib_node_extract should be defined in c++17" | ||||
# endif | # endif | ||||
# if __cpp_lib_node_extract != 201606L | # if __cpp_lib_node_extract != 201606L | ||||
# error "__cpp_lib_node_extract should have the value 201606L in c++17" | # error "__cpp_lib_node_extract should have the value 201606L in c++17" | ||||
# endif | # endif | ||||
▲ Show 20 Lines • Show All 694 Lines • ▼ Show 20 Lines | |||||
# error "__cpp_lib_math_special_functions should have the value 201603L in c++2a" | # error "__cpp_lib_math_special_functions should have the value 201603L in c++2a" | ||||
# endif | # endif | ||||
# else // _LIBCPP_VERSION | # else // _LIBCPP_VERSION | ||||
# ifdef __cpp_lib_math_special_functions | # ifdef __cpp_lib_math_special_functions | ||||
# error "__cpp_lib_math_special_functions should not be defined because it is unimplemented in libc++!" | # error "__cpp_lib_math_special_functions should not be defined because it is unimplemented in libc++!" | ||||
# endif | # endif | ||||
# endif | # endif | ||||
# if !defined(_LIBCPP_VERSION) | # ifndef __cpp_lib_memory_resource | ||||
# ifndef __cpp_lib_memory_resource | # error "__cpp_lib_memory_resource should be defined in c++2a" | ||||
# error "__cpp_lib_memory_resource should be defined in c++2a" | # endif | ||||
# endif | # if __cpp_lib_memory_resource != 201603L | ||||
# if __cpp_lib_memory_resource != 201603L | # error "__cpp_lib_memory_resource should have the value 201603L in c++2a" | ||||
# error "__cpp_lib_memory_resource should have the value 201603L in c++2a" | |||||
# endif | |||||
# else // _LIBCPP_VERSION | |||||
# ifdef __cpp_lib_memory_resource | |||||
# error "__cpp_lib_memory_resource should not be defined because it is unimplemented in libc++!" | |||||
# endif | |||||
# endif | # endif | ||||
# ifndef __cpp_lib_node_extract | # ifndef __cpp_lib_node_extract | ||||
# error "__cpp_lib_node_extract should be defined in c++2a" | # error "__cpp_lib_node_extract should be defined in c++2a" | ||||
# endif | # endif | ||||
# if __cpp_lib_node_extract != 201606L | # if __cpp_lib_node_extract != 201606L | ||||
# error "__cpp_lib_node_extract should have the value 201606L in c++2a" | # error "__cpp_lib_node_extract should have the value 201606L in c++2a" | ||||
# endif | # endif | ||||
▲ Show 20 Lines • Show All 249 Lines • Show Last 20 Lines |