Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
9cd4fe4af6d3e8b6dcfce9c2cdefcaafca7eed7c
/
.
/
test
/
CodeGen
/
globalinit.c
blob: e94027c360922194e1bbd3c265c65ea62e4a1f51 [
file
] [
log
] [
blame
]
// RUN: clang -emit-llvm %s
int
A
[
10
]
=
{
1
,
2
,
3
,
4
,
5
};
extern
int
x
[];
void
foo
()
{
x
[
0
]
=
1
;
}
int
x
[
10
];
void
bar
()
{
x
[
0
]
=
1
;
}