repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git]
/
clang
/
test
/
CXX
/
dcl.decl
/
dcl.meaning
/
dcl.array
/
p1-cxx0x.cpp
blob
102746c3db292d26177bb0c36364bfb934ee7db0
1
// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
2
3
void
f
() {
4
int
b
[
5
];
5
auto
a
[
5
] =
b
;
// expected-error{{'a' declared as array of 'auto'}}
6
auto
*
c
[
5
] =
b
;
// expected-error{{'c' declared as array of 'auto *'}}
7
}