Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
5ba7d2156f5b3f7b078b33fa9cd264762bc6779b
/
.
/
test
/
SemaCXX
/
array-bound-merge.cpp
blob: 579c7933684db6ded64d9866e0545f85df60a5bf [
file
] [
log
] [
blame
]
// RUN: clang-cc -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}}