Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
cd480ad90ff4c144084805761d2dfa52ee9e1c92
/
.
/
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'}}
}