Functions with no parameters tested and passed
git-svn-id: http://picoc.googlecode.com/svn/trunk@184 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
b8aedfe050
commit
bee7e23212
1
TODO
1
TODO
|
@ -1,7 +1,6 @@
|
||||||
TODO
|
TODO
|
||||||
|
|
||||||
Bugs:
|
Bugs:
|
||||||
* defining functions with no parameters (in interactive mode?)
|
|
||||||
* int fact(int i) {
|
* int fact(int i) {
|
||||||
if (i < 2) {
|
if (i < 2) {
|
||||||
return i;
|
return i;
|
||||||
|
|
|
@ -13,3 +13,9 @@ void vfunc(int a)
|
||||||
|
|
||||||
vfunc(1234);
|
vfunc(1234);
|
||||||
|
|
||||||
|
void qfunc()
|
||||||
|
{
|
||||||
|
printf("qfunc()\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
qfunc();
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
9
|
9
|
||||||
16
|
16
|
||||||
a=1234
|
a=1234
|
||||||
|
qfunc()
|
||||||
|
|
Loading…
Reference in a new issue