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
/
CodeGen
/
attribute_constructor.c
blob
9e19679209f88c736526b3202e92453f66214db6
1
// RUN: %clang_cc1 %s -emit-llvm -o - | grep llvm.global_ctors
2
3
extern
int
bar
();
4
void
foo
(
void
)
__attribute__
((
constructor
));
5
void
foo
(
void
) {
6
bar
();
7
}