repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git]
/
test
/
FrontendC
/
2002-05-23-StaticValues.c
blob
a5753b95f16eb78127d55aa7259c5ac4f0f46f06
1
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2
3
/* Make sure the frontend is correctly marking static stuff as internal! */
4
5
int
X
;
6
static int
Y
=
12
;
7
8
static void
foo
(
int
Z
) {
9
Y
=
Z
;
10
}
11
12
void
*
test
() {
13
foo
(
12
);
14
return
&
Y
;
15
}