1762bb9d0ad20320b9f97a841dce57ba5e8e48b07Richard Smith// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
28e8fb3be5bd78f0564444eca02b404566a5f3b5dAndy Gibbs// expected-no-diagnostics
373b3cf6503f72f054288cf474e1a8c8ae56383c2Douglas Gregortemplate<typename T> void f(T&&);
473b3cf6503f72f054288cf474e1a8c8ae56383c2Douglas Gregortemplate<> void f(int&) { }
573b3cf6503f72f054288cf474e1a8c8ae56383c2Douglas Gregorvoid (*fp)(int&) = &f;
6