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
/
Sema
/
vla.cpp
blob
f7d2669fb499b4221b1e229808196d1188c5246e
1
// RUN: %clang_cc1 %s -verify -fsyntax-only
2
3
void
f1
(
int
n
) {
4
typedef
int
x
[
n
];
5
const
x y
;
// expected-error {{default initialization of an object of const type 'const x' (aka 'const int[n]')}}
6
}