Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6
/
.
/
test
/
CodeGen
/
static-order.c
blob: 243e96bf3e650d40e8a68cec573ac9a1915785ad [
file
] [
log
] [
blame
]
// RUN: clang-cc -emit-llvm -o - %s | not grep "zeroinitializer"
struct
s
{
int
a
;
};
static
void
*
v
;
static
struct
s a
;
static
struct
s a
=
{
10
};
void
*
f
()
{
if
(
a
.
a
)
return
v
;
}