http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49689
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-07-09 10:12:36 UTC --- Confirmed as a dup, 4.7 gives: oo.cc: In instantiation of ‘foo<int>’: oo.cc:12:14: required from here oo.cc:6:7: error: invalid use of incomplete type ‘struct foo<int>’ oo.cc:4:8: error: declaration of ‘struct foo<int>’ *** This bug has been marked as a duplicate of bug 49085 ***