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