1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 template<typename T> void f(T&&);
4 template<> void f(int&) { }
5 void (*fp)(int&) = &f;
6