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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
Analysis
/
Inputs
/
ctu-import.c
blob
6c99a36427978ca29566f54dc9fd3b2e7c9b3880
1
2
// Use an internal, implicitly defined type, called by
3
// a function imported for CTU. This should not crash.
4
int
foo
(
void
);
5
int
foobar
(
int
skip
) {
6
__NSConstantString str
= {.
flags
=
1
};
7
8
if
(
str
.
flags
>=
0
)
9
str
.
flags
=
0
;
10
return
4
;
11
}
12
13
int
testStaticImplicit
(
void
) {
14
return
foobar
(
3
);
15
}