repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git]
/
test
/
CodeGen
/
static-order.c
blob
e7f9814261ccccea23233113ba3ca8b5f2469a29
1
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
2
// CHECK: ModuleID
3
// CHECK-NOT: zeroinitializer
4
// CHECK: define i8* @f
5
6
struct
s
{
7
int
a
;
8
};
9
10
static void
*
v
;
11
12
static struct
s a
;
13
14
static struct
s a
= {
15
10
16
};
17
18
void
*
f
()
19
{
20
if
(
a
.
a
)
21
return
v
;
22
}