Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
2767ce2e21d8bc17869b8436220bce719b3369e4
/
.
/
test
/
SemaCXX
/
decltype-crash.cpp
blob: f94ba453ffb4af7d8246556c59b43216cc2cbd3c [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
int
&
a
();
void
f
()
{
decltype
(
a
())
c
;
// expected-error {{use of undeclared identifier 'decltype'}}
}