Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
fb67d6c3814524fdd43bd2fb159f7c594eae581c
/
.
/
test
/
SemaCXX
/
array-bound-merge.cpp
blob: 74f58fa1236014db3d60f2a113a7a2e4933a0842 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// PR5515
extern
int
a
[];
int
a
[
10
];
extern
int
b
[
10
];
int
b
[];
extern
int
c
[
1
];
int
c
[]
=
{
1
,
2
};
// expected-error {{excess elements in array initializer}}