// Build don't link: // Special g++ 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;