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] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Parser
/
cxx-extern-c-array.cpp
blob
11092ad0c1ccded9b41e004890b4f43c75944a01
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
extern
"C"
int
myarray
[];
5
int
myarray
[
12
] = {
0
};
6
7
extern
"C"
int
anotherarray
[][
3
];
8
int
anotherarray
[
2
][
3
] = {
1
,
2
,
3
,
4
,
5
,
6
};