http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56421
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-02-22 09:08:53 UTC --- Also with trunk: c.C: In instantiation of ‘struct Foo<int>’: c.C:6:41: required by substitution of ‘template<class S> typename Foo<S>::type foo(int) [with S = <missing>]’ c.C:10:12: required from here c.C:2:28: error: ‘int’ is not a class, struct, or union type typedef typename S::type type; ^ For that <missing>, see PR56377.