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 {}
};
```

Reply via email to