================ @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 -fsyntax-only -verify %s + +int main() { + auto a = []()__attribute__((b(({ return 0; })))){}; // expected-warning {{unknown attribute 'b' ignored}} + return 0; +} ---------------- cor3ntin wrote:
This can move to `clang/test/SemaCXX/lambda-expressions.cpp` (the name of the function can have the number of the GH issue) We try to limit the number of test files https://github.com/llvm/llvm-project/pull/66643 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits