aboutsummaryrefslogtreecommitdiffstats
path: root/c_parser/test/in/09.c
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-02-19 05:06:45 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-02-19 05:06:45 +0000
commit0e9e8dab385375c0cbb83d89a71fbf8d71206b47 (patch)
treebacb57c4e93652ac8348d7951c63f1796c9f7750 /c_parser/test/in/09.c
parent258c14392606ec4ba0a590cac80ba4198ef920d9 (diff)
downloadCompiler-0e9e8dab385375c0cbb83d89a71fbf8d71206b47.tar.gz
Compiler-0e9e8dab385375c0cbb83d89a71fbf8d71206b47.zip
Finished if statement for the most part
Diffstat (limited to 'c_parser/test/in/09.c')
-rw-r--r--c_parser/test/in/09.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/c_parser/test/in/09.c b/c_parser/test/in/09.c
new file mode 100644
index 0000000..08a7ee4
--- /dev/null
+++ b/c_parser/test/in/09.c
@@ -0,0 +1,15 @@
+int x()
+{}
+
+int g;
+
+int zz(int a, int b, int c)
+{
+ if(a==b){
+ int a;
+ return a;
+ }else{
+ int fsdfsdfs;
+ return c;
+ }
+}