projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
combo error
[libfirm]
/
ir
/
be
/
test
/
llvm
/
ConstructorDestructorAttributes.c
1
#include <stdio.h>
2
3
void ctor() __attribute__((constructor));
4
5
void ctor() {
6
printf("Create!\n");
7
}
8
void dtor() __attribute__((destructor));
9
10
void dtor() {
11
printf("Create!\n");
12
}
13
14
int main() { return 0; }