// Origin: PR c++/43953 template class bad; // partial specialization // for T = U template class bad { public: static void foo() {} }; struct dummy { typedef int type; }; int main() { bad::foo(); }