repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Clean up some of LVI:
[llvm.git]
/
test
/
FrontendC
/
2010-02-15-DbgStaticVar.c
blob
7827d96ce61de10218accc93a9c150b04c67c09f
1
// RUN: %llvmgcc -g -S %s -o - | grep "metadata ..b., metadata ..b., metadata ...,"
2
// Test to check intentionally empty linkage name for a static variable.
3
// Radar 7651244.
4
static int
foo
(
int
a
)
5
{
6
static int
b
=
1
;
7
return
b
+
a
;
8
}
9
10
int
main
() {
11
int
j
=
foo
(
1
);
12
return
0
;
13
}