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