1 // RUN: clang-cc -fsyntax-only -verify %s
2 
3 int& a();
4 
5 void f() {
6   decltype(a()) c; // expected-error {{no matching function for call to 'decltype'}}
7 }
8