// { dg-do assemble } // { dg-options "" } // Origin: Mark Mitchell void X(); template struct J { typedef T X; }; template struct S { typedef T X; struct I : public J { static X* f(); }; }; S si;