We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ae0bd2 commit 18e6cfdCopy full SHA for 18e6cfd
clang/test/SemaTemplate/nested-name-spec-template.cpp
@@ -1,4 +1,4 @@
1
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s -Wno-c++20-extensions
2
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s
3
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
4
@@ -174,7 +174,6 @@ namespace SubstTemplateTypeParmPackType {
174
175
template <class... Ts> void f() {
176
[]<int ... Is>(A<Is...>) { (Ts::g(Is) && ...); }(A<0>{});
177
- // expected-warning@-1 {{explicit template parameter list for lambdas is a C++20 extension}}
178
};
179
180
struct B { static void g(int); };
0 commit comments