aboutsummaryrefslogtreecommitdiffstats
path: root/c_parser/test/in/08.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_parser/test/in/08.c')
-rw-r--r--c_parser/test/in/08.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/c_parser/test/in/08.c b/c_parser/test/in/08.c
new file mode 100644
index 0000000..3d8e983
--- /dev/null
+++ b/c_parser/test/in/08.c
@@ -0,0 +1,10 @@
+int func(int a, int b) {
+ int c = 0;
+ if(a == b) {
+ int d;
+ } else if(a == d) {
+ int e;
+ return d;
+ }
+ return c;
+}