// { dg-do run } // Origin: Lynn Akers // PR c++/10940: Problem handling parameter list for static member // that is a specialization of a member template of a template class. template class o { public: template static void do_add(T* p, T v); }; template<> template inline void o<32>::do_add(T* p, T v) { *p += v; } int main() { int a = 0x1000; o<32>().do_add(&a, 0x2000); return (a != 0x3000); }