tccpp: tcc_warning("extra tokens after directive")
[tinycc.git] / tests / tests2 / 07_function.c
blob006e0a7adf1e0005eeb967520568c35ed2917e54
1 #include <stdio.h>
3 int myfunc(int x)
5 return x * x;
8 void vfunc(int a)
10 printf("a=%d\n", a);
13 void qfunc()
15 printf("qfunc()\n");
18 void zfunc()
20 ((void (*)(void))0) ();
23 int main()
25 printf("%d\n", myfunc(3));
26 printf("%d\n", myfunc(4));
28 vfunc(1234);
30 qfunc();
32 return 0;
35 // vim: set expandtab ts=4 sw=3 sts=3 tw=80 :