Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
aa945900d5438984bdcaac85c4f54868292231f4
/
.
/
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
};