[Bug c++/68918] spurious "invalid use of incomplete type" in trailing return type

2019-05-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68918

--- Comment #2 from Marek Polacek  ---
Author: mpolacek
Date: Tue May 14 21:19:01 2019
New Revision: 271193

URL: https://gcc.gnu.org/viewcvs?rev=271193=gcc=rev
Log:
PR c++/68918
* g++.dg/cpp0x/decltype71.C: New test.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/decltype71.C
Modified:
trunk/gcc/testsuite/ChangeLog

[Bug c++/68918] spurious "invalid use of incomplete type" in trailing return type

2019-05-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68918

Marek Polacek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Marek Polacek  ---
Fixed.

[Bug c++/68918] spurious "invalid use of incomplete type" in trailing return type

2019-05-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68918

Marek Polacek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2019-05-14
 CC||mpolacek at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |mpolacek at gcc dot 
gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Marek Polacek  ---
Fixed by r236221, I'll add the test.