Issue 123441
Summary [Clang][regression] Clang crashes when type of function parameter pack of inner lambda is `decltype(outer_lambda_function_parameter_pack)` and inner lambda has requires clause
Labels clang
Assignees
Reporter zwuis
    This code makes Clang 16 and newer versions crash:

```cpp
void test() {
  auto L = [](auto... x) {
    return [](decltype(x)... y) requires true {};
  };
  L(0, 1)(1, 2);
}
```

Compiler Explorer: <https://godbolt.org/z/831x11eEr>
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to