1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 
3 struct X {
4   template<typename T, typename U>
5   static void f(int, int);
6 };
7 
8 void f() {
9   void (*ptr)(int, int) = &X::f<int, int>;
10 }
11