Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 
      3 int& a();
      4 
      5 void f() {
      6   decltype(a()) c; // expected-error {{use of undeclared identifier 'decltype'}}
      7 }
      8