Mercurial > hg > CbC > CbC_gcc
annotate CbC-examples/bug.c @ 16:4c6926a2b9bc
examples.
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 24 Sep 2009 12:51:25 +0900 |
parents | |
children | 5d30d517ebed |
rev | line source |
---|---|
16 | 1 typedef void (*atexit_callback)(void); |
2 typedef void (*cxa_atexit_callback)(void *); | |
3 struct one_atexit_routine | |
4 { | |
5 int callback; | |
6 }; | |
7 | |
8 | |
9 static int | |
10 atexit_common (const struct one_atexit_routine *r, const void *dso) | |
11 | |
12 | |
13 { | |
14 return 0; | |
15 } | |
16 | |
17 int main(){ | |
18 printf("hello\n"); | |
19 } |