1 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
5 decltype(f
) a
; // expected-error{{cannot resolve overloaded function from context}}
7 template<typename T
> struct S
{
8 decltype(T::f
) * f
; // expected-error{{cannot resolve overloaded function from context}}
11 struct K
{ void f(); void f(int); };
12 S
<K
> b
; // expected-note{{in instantiation of template class 'S<K>' requested here}}