source: driver/tests/test4.c @ 3043

Last change on this file since 3043 was 2988, checked in by sacerdot, 7 years ago

Some easy tests.

File size: 131 bytes
Line 
1char decr(char x) {
2        if (x == 0) { return 0; }
3        else {return decr(x-1); }
4} 
5
6int main() {
7        return decr(4);
8}
Note: See TracBrowser for help on using the repository browser.