// RUN: %clang_cc1 -fsyntax-only -verify %s
// PR5811
void
void ;
void
// Check the conversion of a template-id to a pointer
;
Constant<void, &f<int> > constant0;
void ;
void
// Check typeof() on a template-id referring to a single function
;
;
int typeof0;
int typeof1;
void ; // expected-note{{possible target for call}}
void ; // expected-note{{possible target for call}}
int typeof2; // \
// expected-error{{reference to overloaded function could not be resolved; did you mean to call it?}}