diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-18 14:34:12 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-18 14:34:12 +0000 |
commit | fac528593e216830c89360f5c6ce64dbe7c5176f (patch) | |
tree | 18cbabda0f8bfcec83669de702e1ce3bd2660eda /c_compiler/test | |
parent | eae17d816ea2aa8075d671635c45d3d6b7891e90 (diff) | |
download | Compiler-fac528593e216830c89360f5c6ce64dbe7c5176f.tar.gz Compiler-fac528593e216830c89360f5c6ce64dbe7c5176f.zip |
Broke compound statement
Diffstat (limited to 'c_compiler/test')
-rw-r--r-- | c_compiler/test/in/for.c | 12 |
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; +} |