annotate python/tests/testcode.c @ 190:65dda7e7e8bd

Disable test with qt
author Windel Bouwman
date Sat, 25 May 2013 15:15:42 +0200
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