Sign in
llvm
/
clang
/
4e85e01664ee5e402a1f4c1300e5218def9d6800
/
.
/
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
};