diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-03-10 23:22:10 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-03-10 23:22:10 +0000 |
commit | 8638f32c4624d8d7b225eaf43333ba926c5acaf0 (patch) | |
tree | 39b610dfe9ad898304aea3547f816197ab69df60 /c_parser/test/in | |
parent | 733e278a3c20988cfe1ae386fe057945a805bbb3 (diff) | |
download | Compiler-8638f32c4624d8d7b225eaf43333ba926c5acaf0.tar.gz Compiler-8638f32c4624d8d7b225eaf43333ba926c5acaf0.zip |
Fixing tests
Diffstat (limited to 'c_parser/test/in')
-rw-r--r-- | c_parser/test/in/08.c | 6 | ||||
-rw-r--r-- | c_parser/test/in/09.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/c_parser/test/in/08.c b/c_parser/test/in/08.c index c57a6ab..dfac1e5 100644 --- a/c_parser/test/in/08.c +++ b/c_parser/test/in/08.c @@ -1,10 +1,10 @@ int func(int a, int b) { int c = 0; if(a == b) { - int d; + int d; } else if(a == d) { - int e; - return d; + int e; + return d; } return c; } diff --git a/c_parser/test/in/09.c b/c_parser/test/in/09.c index ae86bb1..950ae7c 100644 --- a/c_parser/test/in/09.c +++ b/c_parser/test/in/09.c @@ -6,10 +6,10 @@ int g; int zz(int a, int b, int c) { if(a==b){ - int a; - return a; + int a; + return a; }else{ - int fsdfsdfs; - return c; + int fsdfsdfs; + return c; } } |