aboutsummaryrefslogtreecommitdiffstats
path: root/c_parser/test/in
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-02-17 21:55:16 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-02-17 21:55:16 +0000
commit850f46eeb6de286d4b079373104af87e3aca781c (patch)
tree9f5f3c7b73d1447487030112c03c112ca85c7e55 /c_parser/test/in
parentce93fb7754f4565f70fe5572bd7d4a2c368ea9cd (diff)
downloadCompiler-850f46eeb6de286d4b079373104af87e3aca781c.tar.gz
Compiler-850f46eeb6de286d4b079373104af87e3aca781c.zip
Finished functions completely, now moving on to statements
Diffstat (limited to 'c_parser/test/in')
-rw-r--r--c_parser/test/in/05.c3
-rw-r--r--c_parser/test/in/06.c6
2 files changed, 9 insertions, 0 deletions
diff --git a/c_parser/test/in/05.c b/c_parser/test/in/05.c
new file mode 100644
index 0000000..a5ac579
--- /dev/null
+++ b/c_parser/test/in/05.c
@@ -0,0 +1,3 @@
+int foo(int x, int y) {
+ {}
+}
diff --git a/c_parser/test/in/06.c b/c_parser/test/in/06.c
new file mode 100644
index 0000000..f182bd9
--- /dev/null
+++ b/c_parser/test/in/06.c
@@ -0,0 +1,6 @@
+int f(int a, int b, int c) {
+ int d;
+ {
+ int e;
+ }
+}