Fix the clang-wpa example.
[clang.git] / test / SemaCXX / decltype-crash.cpp
blobf94ba453ffb4af7d8246556c59b43216cc2cbd3c
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 int& a();
5 void f() {
6 decltype(a()) c; // expected-error {{use of undeclared identifier 'decltype'}}