prog.cpp:29:25: error: specialization of ‘static int Outer::Test<T>::f() [with T = int]’ after instantiation
int Outer::Test<int>::f()
^
prog.cpp:34:28: error: specialization of ‘static int Outer::Test<T>::f() [with T = double]’ after instantiation
int Outer::Test<double>::f()
^