Sign in
cobalt
/
cobalt
/
b95ea55ccebda33f820d043e4b4dc85c10d7584d
/
.
/
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
};