https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90426
--- Comment #6 from Marek Polacek ---
I posted a patch to improve diagnostics for this particular case:
https://gcc.gnu.org/ml/gcc-patches/2019-05/msg00529.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90426
--- Comment #5 from Mateusz Pusz ---
(In reply to Mateusz Pusz from comment #3)
> (In reply to Marek Polacek from comment #1)
> > This compiles if I use {} instead of ():
> >
> > struct gram : unit {};
>
> (In reply to Marek Polacek from commen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90426
--- Comment #4 from Mateusz Pusz ---
(In reply to Marek Polacek from comment #1)
> This compiles if I use {} instead of ():
>
> struct gram : unit {};
I know that it compiles fine in the following cases:
struct gram : unit {};
struct gram : uni
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90426
--- Comment #3 from Mateusz Pusz ---
(In reply to Marek Polacek from comment #1)
> This compiles if I use {} instead of ():
>
> struct gram : unit {};
(In reply to Marek Polacek from comment #2)
> I think this is invalid. [temp.arg]p2:
> "In a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90426
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90426
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment