Issue 87971
Summary Crash when evaluating a constexpr static function template in an incomplete class context.
Labels clang:frontend, regression, crash
Assignees
Reporter cor3ntin
    ```cpp
struct s{
  static constexpr auto f(auto extent) {
    return 0;
 }

  static constexpr auto a = f(0);
};
```

The following crashes after clang 17.

https://godbolt.org/z/o7zaK7qKq


I's unclear whether this should be well-formed (see #73232)



_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to