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
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git]
/
test
/
FrontendC
/
2006-03-03-MissingInitializer.c
blob
0d09d297d191e45a36294c7bb31886cc71906faf
1
// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
2
// RUN: llvm-dis | grep {@nate.*internal global i32 0}
3
4
struct
X
{
int
*
XX
;
int
Y
;};
5
6
void
foo
() {
7
static int
nate
=
0
;
8
struct
X bob
= { &
nate
,
14
};
9
bar
(&
bob
);
10
}
11