Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
47421a2ddae59936b4d6013dd00831eb343b4427
/
.
/
test
/
SemaCXX
/
decltype-crash.cpp
blob: b56a7f602987f4c5875c760c82f67d506fdabda7 [
file
] [
log
] [
blame
]
// RUN: clang-cc -fsyntax-only -verify %s
int
&
a
();
void
f
()
{
decltype
(
a
())
c
;
// expected-error {{no matching function for call to 'decltype'}}
}