repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.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