Sign in
llvm
/
clang
/
f8f8dd3457acc13029c3a6e8a6ff8b28706354b3
/
.
/
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'}}
}