================
@@ -60,6 +61,31 @@ namespace template_parameter_type_recursion {
   void printFunctionalType(ostream &os, mlir::Value &v) { os << v; }
 }
 
+#elif TEST == 4
+
+// Test for recursive lambdas in templates (GitHub issue #180319)
+// This should not crash with a stack overflow.
+namespace recursive_lambda_template {
----------------
zyn0217 wrote:

```suggestion
namespace GH180319 {
```


https://github.com/llvm/llvm-project/pull/180325
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to