1 // RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
5 decltype(f) a; // expected-error{{can't determine the declared type of an overloaded function}}
7 template<typename T> struct S {
8 decltype(T::f) * f; // expected-error{{can't determine the declared type of an overloaded function}}
11 struct K { void f(); void f(int); };
12 S<K> b; // expected-note{{in instantiation of template class 'struct S<struct K>' requested here}}