From 9e761324895d098a87f0ba66b7eb1794cd3ed6b4 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 1 Mar 2017 17:18:54 +0000 Subject: Finished parser --- c_compiler/test/in/10.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 c_compiler/test/in/10.c (limited to 'c_compiler/test/in/10.c') diff --git a/c_compiler/test/in/10.c b/c_compiler/test/in/10.c new file mode 100644 index 0000000..37a6ecc --- /dev/null +++ b/c_compiler/test/in/10.c @@ -0,0 +1,18 @@ +int f() +{} + +int g = 2; + +int x(int y) { + int z = 3; + + if(y < z || g < z) { + int r; + ++y; + } else if(y == z) { + int f; + --y; + } else return y; + + return g; +} -- cgit