Richard Biener <rguenth at gcc dot> changed:

           What    |Removed                     |Added
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-02-13
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot> ---
Confirmed.  clang reports

t.C:13:5: error: constructor for 'B' must explicitly initialize the member 'a'
      which does not have a default constructor
    B() : b(1) {}...
t.C:10:7: note: member is declared here
    A a...
t.C:1:7: note: 'A' declared here
class A {

Reply via email to