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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-05-14
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed with trunk:

$ ./cc1plus -quiet 70077.C
70077.C:8:31: error: invalid use of incomplete type ‘struct D’
    8 |     D() noexcept(noexcept(D{42})): B{42} { }
      |                               ^
70077.C:6:8: note: definition of ‘struct D’ is not complete until the closing
brace
    6 | struct D: public B {
      |        ^

Reply via email to