HighCommander4 wrote:

Here's a reduced testcase for the stack overflow:

```c++
class Node {
  template <typename... Ts>
  void foo(Ts... ts) {
    if (next) {
      next->foo(ts...); 
    }
  }

  Node* next;
};

void bar() {
  Node n;
  n.foo(1, 2, 3);
}
```

We should add a unit test for it.

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

Reply via email to