// RUN: %clang_cc1 -fsyntax-only -verify %s
// This is the function actually selected during overload resolution, and the
// only one defined.
void
;
; // expected-note{{in instantiation}}
;
// Provide a bad class and an overload that instantiates templates with it.
; // expected-note{{forward declaration}}
S_<NoDefinition>::type ; // expected-note{{in instantiation}}
void
// Ensure that we instantiate an overloaded function if it's selected by
// overload resolution when initializing a function pointer.
;
void = &X<void>::f; // expected-note {{instantiation of}}