Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
4a529d26d6ccfc9b3d11031f1256f4f87055c562
/
.
/
test
/
Parser
/
cxx-extern-c-array.cpp
blob: 14912fd1067b7c6bb2f96b3137922e3d835b9911 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
extern
"C"
int
myarray
[];
int
myarray
[
12
]
=
{
0
};
extern
"C"
int
anotherarray
[][
3
];
int
anotherarray
[
2
][
3
]
=
{
1
,
2
,
3
,
4
,
5
,
6
};