You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libcxx/test/std/language.support/support.limits/support.limits.general/spanstream.version.compile.pass.cpp
+10-22Lines changed: 10 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -46,32 +46,20 @@
46
46
47
47
#elif TEST_STD_VER == 23
48
48
49
-
# if !defined(_LIBCPP_VERSION)
50
-
# ifndef __cpp_lib_spanstream
51
-
# error "__cpp_lib_spanstream should be defined in c++23"
52
-
# endif
53
-
# if __cpp_lib_spanstream != 202106L
54
-
# error "__cpp_lib_spanstream should have the value 202106L in c++23"
55
-
# endif
56
-
# else
57
-
# ifdef __cpp_lib_spanstream
58
-
# error "__cpp_lib_spanstream should not be defined because it is unimplemented in libc++!"
59
-
# endif
49
+
# ifndef __cpp_lib_spanstream
50
+
# error "__cpp_lib_spanstream should be defined in c++23"
51
+
# endif
52
+
# if __cpp_lib_spanstream != 202106L
53
+
# error "__cpp_lib_spanstream should have the value 202106L in c++23"
60
54
# endif
61
55
62
56
#elif TEST_STD_VER > 23
63
57
64
-
# if !defined(_LIBCPP_VERSION)
65
-
# ifndef __cpp_lib_spanstream
66
-
# error "__cpp_lib_spanstream should be defined in c++26"
67
-
# endif
68
-
# if __cpp_lib_spanstream != 202106L
69
-
# error "__cpp_lib_spanstream should have the value 202106L in c++26"
70
-
# endif
71
-
# else
72
-
# ifdef __cpp_lib_spanstream
73
-
# error "__cpp_lib_spanstream should not be defined because it is unimplemented in libc++!"
74
-
# endif
58
+
# ifndef __cpp_lib_spanstream
59
+
# error "__cpp_lib_spanstream should be defined in c++26"
60
+
# endif
61
+
# if __cpp_lib_spanstream != 202106L
62
+
# error "__cpp_lib_spanstream should have the value 202106L in c++26"
0 commit comments