repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
FrontendC
/
attribute_constructor.c
blob
b2f7c9b19fc031244851576d5c46ef69c28b0b3b
1
// RUN: %llvmgcc %s -c -o - | llvm-dis | grep llvm.global_ctors
2
3
void
foo
()
__attribute__
((
constructor
));
4
void
foo
() {
5
bar
();
6
}