Mercurial > hg > CbC > CbC_gcc
annotate CbC-examples/normal.c @ 27:f9b1a53df341
implemented indirect sibcall for ppc.
author | kent@teto.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Tue, 10 Nov 2009 16:34:29 +0900 |
parents | 4c6926a2b9bc |
children |
rev | line source |
---|---|
16 | 1 #include<stdio.h> |
2 #include<stdlib.h> | |
3 | |
4 //size_t size; | |
5 int size; | |
6 typedef int test_int; | |
7 | |
8 test_int ti; | |
9 | |
10 void end(){ | |
11 exit(0); | |
12 } | |
13 | |
14 int main(int argc, char **argv){ | |
15 size=0; | |
16 ti=10; | |
17 | |
18 printf("main: "); | |
19 printf("normal:%d\n", argc); | |
20 | |
21 size = 10; | |
22 printf("size = %d\n", size); | |
23 printf(" ti = %d\n", ti); | |
24 end(); | |
25 } | |
26 |