annotate python/tests/testcode.c @ 168:49f1ab80d040

Added awesome icons
author Windel Bouwman
date Fri, 22 Mar 2013 19:09:38 +0100
parents f2d980eef509
children
rev   line source
106
f2d980eef509 improved code generation
Windel Bouwman
parents:
diff changeset
1
f2d980eef509 improved code generation
Windel Bouwman
parents:
diff changeset
2 int Calculate(int a, int b, int c)
f2d980eef509 improved code generation
Windel Bouwman
parents:
diff changeset
3 {
f2d980eef509 improved code generation
Windel Bouwman
parents:
diff changeset
4 int d, e;
f2d980eef509 improved code generation
Windel Bouwman
parents:
diff changeset
5 d = a + b;
f2d980eef509 improved code generation
Windel Bouwman
parents:
diff changeset
6 e = d * c - a;
f2d980eef509 improved code generation
Windel Bouwman
parents:
diff changeset
7 return a + b + c + d + e;
f2d980eef509 improved code generation
Windel Bouwman
parents:
diff changeset
8 }
f2d980eef509 improved code generation
Windel Bouwman
parents:
diff changeset
9