[Bug c++/101051] New: [ICE] in splice_late_return_type, at cp/pt.c:29738
ldalessandro at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Jun 13 18:23:39 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101051
Bug ID: 101051
Summary: [ICE] in splice_late_return_type, at cp/pt.c:29738
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ldalessandro at gmail dot com
Target Milestone: ---
Following invalid code triggers ICE in 10, 11, and trunk.
```
template <class T>
class Foo
{
constexpr operator T() -> T {}
};
```
More information about the Gcc-bugs
mailing list