source: Deliverables/D2.2/8051-memoryspaces-branch/tests/clight/fib.c.expected @ 1448

Last change on this file since 1448 was 453, checked in by ayache, 10 years ago

Import of the Paris's sources.

File size: 128 bytes
Line 
1int fib (int n)
2{
3  if (n < 2)
4   return 1;
5  else {
6    return fib (n-1) + fib (n-2);
7  }
8}
9int main () {
10 return fib (10);
11}
Note: See TracBrowser for help on using the repository browser.