// An intermediate version of the fix for c++/19407 broke this example. struct A { typedef struct { int i; } S; }; template struct B: public A { template static S f (); }; template struct B;