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 f()8void f() { 9 void (*ptr)(int, int) = &X::f<int, int>; 10 11 unknown *p = 0; // expected-error {{unknown type name 'unknown'}} 12 unknown * p + 0; // expected-error {{undeclared identifier 'unknown'}} 13 } 14