repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix the clang-wpa example.
[clang.git]
/
test
/
SemaCXX
/
decltype-crash.cpp
blob
f94ba453ffb4af7d8246556c59b43216cc2cbd3c
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
int
&
a
();
4
5
void
f
() {
6
decltype
(
a
())
c
;
// expected-error {{use of undeclared identifier 'decltype'}}
7
}