aboutsummaryrefslogtreecommitdiffstats
path: root/c_parser/test
diff options
context:
space:
mode:
Diffstat (limited to 'c_parser/test')
-rw-r--r--c_parser/test/output.xml2
-rw-r--r--c_parser/test/test_parser.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/c_parser/test/output.xml b/c_parser/test/output.xml
index 852ed49..0e8833b 100644
--- a/c_parser/test/output.xml
+++ b/c_parser/test/output.xml
@@ -1,3 +1,4 @@
+Function Def
<?xml version="1.0"?>
<Program>
<Variable id="a" />
@@ -10,4 +11,3 @@
<Variable id="d" />
<Variable id="hello" />
<Variable id="asd" />
-</Program>
diff --git a/c_parser/test/test_parser.c b/c_parser/test/test_parser.c
index 557fd56..d894c23 100644
--- a/c_parser/test/test_parser.c
+++ b/c_parser/test/test_parser.c
@@ -3,4 +3,6 @@ int b;
int c;
int yann, is, the, best;
int d = 0;
-int hello = 123, asd = 123;
+int hello = 122, asd = 123;
+
+int f(int i, int b, int c, int d);