https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127316

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Another bug:

```
template<auto>
struct constant_wrapper {};

template<class T> auto g(T a) -> constant_wrapper<^^a>;
template<class T> auto g(T a) -> constant_wrapper<^^a>;

void
fn ()
{
  g (0);
}
```

results in:

xg++: internal compiler error: Segmentation fault signal terminated program
cc1plus

Reply via email to