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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Patrick Palka from comment #4)
> This seems to be the variable template version of
> https://cplusplus.github.io/CWG/issues/408.html, the resolution of which
> predated variable templates.

Note this works though (which I thought would be able the same, this is another
workaround):

```
template<int ...Is>
struct X
{
  static int s[];
};
template<int ...Is>
int X<Is...>::s[]={Is...};

static_assert(sizeof(X<1>::s) == sizeof(int) * 1, "");
```

Reply via email to