projects
/
cparser
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add testcase for empty structs
[cparser]
/
parsetest
/
gnu99
/
construct_destruct.c
1
int puts(const char *str);
2
3
void __attribute__((constructor)) construct(void)
4
{
5
puts("Hello");
6
}
7
8
void __attribute__((destructor)) destruct(void)
9
{
10
puts("Goobye");
11
}
12
13
int main(void)
14
{
15
puts("Main");
16
return 0;
17
}