Sign in
cobalt
/
cobalt
/
a7b1cfadc52288d71702934fd93743a24aea060a
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Parser
/
cxx-extern-c-array.cpp
blob: 11092ad0c1ccded9b41e004890b4f43c75944a01 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
extern
"C"
int
myarray
[];
int
myarray
[
12
]
=
{
0
};
extern
"C"
int
anotherarray
[][
3
];
int
anotherarray
[
2
][
3
]
=
{
1
,
2
,
3
,
4
,
5
,
6
};