================ @@ -124,6 +125,14 @@ void lambda_capture() { [&x...] { (void)sum(x...); }(); } +struct S2 { + int a, b, c; +}; + +auto X = [] <typename = void> () { ---------------- shafik wrote:
I feel like there are a bunch of varieties on this case we can test as well: https://godbolt.org/z/r9zxxfoW5 https://github.com/llvm/llvm-project/pull/125394 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits