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

--- Comment #4 from Lénárd Szolnoki <leni536 at gmail dot com> ---
Other example in the same spirit, but not using array of unknown bound:

```
template <auto&>
struct S {};

template <typename T>
void foo(T) {}

int i;
constexpr const int& iref = i;

template void foo(S<i>);
template void foo(S<iref>);
```

Reply via email to