https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127265
Bug ID: 127265
Summary: ICE segfault on reflection with deduction guide
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: eczbek.void at gmail dot com
Target Milestone: ---
https://godbolt.org/z/4cKPjMPjf
Clang accepts this
```
#include <meta>
template<std::meta::info info>
struct full_info {
full_info([:type_of(info):]) {}
};
template<typename T>
full_info(T x) -> full_info<^^x>;
int main() {
full_info(0);
}
```
```
g++: internal compiler error: cc1plus terminated by signal 11 (Segmentation
fault)
```