repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[flang] Fix crash in HLFIR generation (#118399)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2006-03-03-MissingInitializer.c
blob
e1085f4b94f5769ccd16ecad7357113ab69b9122
1
// RUN: %clang_cc1 %s -emit-llvm -std=c89 -o - | FileCheck %s
2
3
struct
X
{
int
*
XX
;
int
Y
;};
4
5
void
foo
(
void
) {
6
// CHECK: @foo.nate = internal global i32 0
7
static int
nate
=
0
;
8
struct
X bob
= { &
nate
,
14
};
9
bar
(&
bob
);
10
}