[clang] [Clang][AST] fix crash in mangle lambda expression (PR #78896)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 21 23:45:43 PST 2024
================
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 -fsyntax-only -std=c++20 -verify %s
+// expected-no-diagnostics
+
+auto ICE = [](auto a) { return [=]<decltype(a) b>() { return 1; }; };
----------------
cor3ntin wrote:
Can you reference the issue number in the test?
https://github.com/llvm/llvm-project/pull/78896
More information about the cfe-commits
mailing list