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