projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Rather than having special rules like "intrinsics cannot
[oota-llvm.git]
/
test
/
CFrontend
/
2006-03-03-MissingInitializer.c
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