------- Comment #4 from rguenth at gcc dot gnu dot org 2009-12-18 23:15 ------- We could diagnose this, but the C++ standard doesn't require a diagnostic (and with functions it unfortunately happens too common and would be very noisy).
-- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42430