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

--- Comment #2 from Kael Franco <kaelfandrew at gmail dot com> ---
(In reply to Lu Maltsis from comment #0)
> template <typename, typename, typename, typename b>
> void foo() {
>   b a = a[a];
> }
> 
> int main() {
>   enum c {};
>   struct d;
>   union e;
>   foo<c, d, e, int[]>;
> }

r16-3466-g78d19ea3fea308

Reply via email to