https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99465
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |12.0
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99465
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99465
--- Comment #3 from 康桓瑋 ---
*** Bug 99521 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99465
--- Comment #2 from 康桓瑋 ---
Here is the minimal reduced example:
f() requires [
godbolt: https://godbolt.org/z/eMWxPj
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99465
--- Comment #1 from 康桓瑋 ---
Other related ICE:
template requires ([]{}());
auto f() requires ([]{}());
https://godbolt.org/z/8z3PPx