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: regression-tests/test-results/mixed-bugfix-for-ufcs-non-local.cpp
+5-5
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ namespace ns {
34
34
35
35
// Variables.
36
36
37
-
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> boolinlineconstexpr v0 = false;// Fails on GCC ([GCC109781][]).
37
+
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> boolinlineconstexpr v0 = false;// Fails on GCC ([GCC109781][]) and Clang 12 (a lambda expression cannot appear in this context)
38
38
39
39
t<CPP2_UFCS_NONLOCAL(f)(o)> inlineconstexpr v1 = t<true>();// Fails on Clang 12 (lambda in unevaluated context).
40
40
@@ -52,11 +52,11 @@ auto g() -> void;
52
52
53
53
// Aliases.
54
54
55
-
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> using a = bool;// Fails on GCC ([GCC109781][]).
55
+
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> using a = bool;// Fails on GCC ([GCC109781][]) and Clang 12 (a lambda expression cannot appear in this context)
56
56
57
57
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> autoinlineconstexpr b = false;// Fails on GCC ([GCC109781][]).
58
58
59
-
using c = t<CPP2_UFCS_NONLOCAL(f)(o)>;// Fails on Clang 12 (lambda in unevaluated context).
59
+
using c = t<CPP2_UFCS_NONLOCAL(f)(o)>;// Fails on Clang 12 (lambda in unevaluated context) and Clang 12 (a lambda expression cannot appear in this context)
60
60
61
61
autoinlineconstexpr d = t<CPP2_UFCS_NONLOCAL(f)(o)>();// Fails on Clang 12 (lambda in unevaluated context).
62
62
@@ -81,7 +81,7 @@ auto main() -> int;
81
81
namespacens {
82
82
83
83
#line 21 "mixed-bugfix-for-ufcs-non-local.cpp2"
84
-
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> autog() -> void{}// Fails on GCC ([GCC109781][]).
84
+
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> autog() -> void{}// Fails on GCC ([GCC109781][]) and Clang 12 (a lambda expression cannot appear in this context)
85
85
86
86
autog([[maybe_unused]] cpp2::in<t<CPP2_UFCS_NONLOCAL(f)(o)>> unnamed_param_1) -> void{}// Fails on Clang 12 (lambda in unevaluated context).
0 commit comments