aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/test/in
diff options
context:
space:
mode:
Diffstat (limited to 'c_compiler/test/in')
-rw-r--r--c_compiler/test/in/for.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/c_compiler/test/in/for.c b/c_compiler/test/in/for.c
new file mode 100644
index 0000000..0af6158
--- /dev/null
+++ b/c_compiler/test/in/for.c
@@ -0,0 +1,12 @@
+int main()
+{
+ int x, y, z;
+
+ x = 2 * 3;
+ y = 1 * 3;
+ z = 9;
+
+ y = x + y + z;
+
+ return y;
+}