2014-12-04 16:46 GMT+01:00 Marek Polacek <pola...@redhat.com>: > On Thu, Dec 04, 2014 at 04:00:34PM +0100, Kai Tietz wrote: >> Hi, >> >> The issue is that lookup_destructor calls >> adjust_result_of_qualified_name_lookup >> with an NULL_TREE decl (returned by lookup_member). So error-message >> is missing. >> >> As already discussed in bug-tracker: >> >> ChangeLog >> >> 2014-12-04 Kai Tietz <kti...@redhat.com> >> >> PR c++/64100 >> * typeck.c (lookup_destructor): Handle incomplete >> type. >> >> Tested on x86_64-unknown-linux-gnu. >> >> Ok for apply? > > Testcase? > > Marek
Well, I spared that as this is an invalid code bug with a lot of side-errors, which might change over time. If wanted I can add testcase to g++/template/ collection Kai