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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |10.5
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2023-02-14
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.  g++-6:

$ xg++-6 -c 108795.C
108795.C: In instantiation of ‘T g(T) [with T = int]’:
108795.C:11:7:   required from here
108795.C:7:8: error: cannot call member function ‘g(T)::C::~C() [with T = int]’
without object
   C::~C();
   ~~~~~^~

Reply via email to