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: clang/test/AST/Interp/cxx23.cpp
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -170,3 +170,10 @@ namespace LabelGoto {
170
170
static_assert(foo() == 1, ""); // all-error {{not an integral constant expression}} \
171
171
// all-note {{in call to}}
172
172
}
173
+
174
+
namespaceExplicitLambdaThis {
175
+
constexprauto f = [x = 3]<typename Self>(this Self self) { // all20-error {{explicit object parameters are incompatible with C++ standards before C++2b}}
0 commit comments