Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
refs/heads/fp2-m-sibon
/
.
/
test
/
CodeGen
/
2008-03-03-CtorAttrType.c
blob: dbd7bc0a7270953cc4766ed400561ef9def31bd6 [
file
] [
log
] [
blame
]
Eric Christopher
3883e66
2011-07-26 22:17:02 +0000
[
diff
] [
blame
]
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