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
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2008-03-03-CtorAttrType.c
blob
dbd7bc0a7270953cc4766ed400561ef9def31bd6
1
// RUN: %clang_cc1 %s -emit-llvm -o - | grep llvm.global_ctors
2
int
__attribute__
((
constructor
))
foo
(
void
) {
3
return
0
;
4
}
5
void
__attribute__
((
constructor
))
bar
(
void
) {}
6