aboutsummaryrefslogtreecommitdiffstats
path: root/c_parser/test/in/13.c
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-02-19 15:31:55 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-02-19 15:31:55 +0000
commitf820e632c9c985a938f32c4d3adb9bafb3b9393f (patch)
tree8da58b7b3e40f9a96f954b88970f45d5e95e98bc /c_parser/test/in/13.c
parent563fc043d2ed88cc72b825e3916287f8a67545c2 (diff)
downloadCompiler-f820e632c9c985a938f32c4d3adb9bafb3b9393f.tar.gz
Compiler-f820e632c9c985a938f32c4d3adb9bafb3b9393f.zip
Nearly all working perfectly
Diffstat (limited to 'c_parser/test/in/13.c')
-rw-r--r--c_parser/test/in/13.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/c_parser/test/in/13.c b/c_parser/test/in/13.c
new file mode 100644
index 0000000..d912d70
--- /dev/null
+++ b/c_parser/test/in/13.c
@@ -0,0 +1,8 @@
+int func(int x, int y) {
+ int i;
+ for(i = 0; i < 5; ++i) {
+ int z = 0;
+ z = x + y + i;
+ return x + y;
+ }
+}