aboutsummaryrefslogtreecommitdiffstats
path: root/c_parser/test/in/07.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/07.c
parent258c14392606ec4ba0a590cac80ba4198ef920d9 (diff)
downloadCompiler-0e9e8dab385375c0cbb83d89a71fbf8d71206b47.tar.gz
Compiler-0e9e8dab385375c0cbb83d89a71fbf8d71206b47.zip
Finished if statement for the most part
Diffstat (limited to 'c_parser/test/in/07.c')
-rw-r--r--c_parser/test/in/07.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/c_parser/test/in/07.c b/c_parser/test/in/07.c
index baa3ba5..6abb5b5 100644
--- a/c_parser/test/in/07.c
+++ b/c_parser/test/in/07.c
@@ -1,3 +1,5 @@
-if(x == y) {
- int z;
+int foo(int a) {
+ if(x == y) {
+ int z;
+ }
}