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
StmtPrinter: factor out arg printing code to PrintCallArgs
[clang.git]
/
test
/
CodeGen
/
merge-statics.c
blob
6716935c4d12222ec4c1bad8a3ae66c443c2eb34
1
// RUN: %clang_cc1 < %s -emit-llvm | grep internal | count 1
2
3
// The two decls for 'a' should merge into one llvm GlobalVariable.
4
5
struct
s
{
int
x
; };
6
static struct
s a
;
7
8
struct
s
*
ap1
= &
a
;
9
10
static struct
s a
= {
11
10
12
};
13