picoc/tests/07_function.c
zik.saleeba 2dd0dfb049 Changed tests to new standard library.
Fixed some regressions when converting to new standard library.


git-svn-id: http://picoc.googlecode.com/svn/trunk@432 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-13 11:58:52 +00:00

24 lines
230 B
C

#include <stdio.h>
int myfunc(int x)
{
return x * x;
}
printf("%d\n", myfunc(3));
printf("%d\n", myfunc(4));
void vfunc(int a)
{
printf("a=%d\n", a);
}
vfunc(1234);
void qfunc()
{
printf("qfunc()\n");
}
qfunc();