diff python/tests/testcode.c @ 106:f2d980eef509

improved code generation
author Windel Bouwman
date Mon, 31 Dec 2012 18:26:56 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/python/tests/testcode.c	Mon Dec 31 18:26:56 2012 +0100
@@ -0,0 +1,9 @@
+
+int Calculate(int a, int b, int c)
+{
+   int d, e;
+   d = a + b;
+   e = d * c - a;
+   return a + b + c + d + e;
+}
+