aboutsummaryrefslogtreecommitdiffstats
path: root/c_parser/test/ref/15.stdout.xml
diff options
context:
space:
mode:
Diffstat (limited to 'c_parser/test/ref/15.stdout.xml')
-rw-r--r--c_parser/test/ref/15.stdout.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/c_parser/test/ref/15.stdout.xml b/c_parser/test/ref/15.stdout.xml
new file mode 100644
index 0000000..b06dde0
--- /dev/null
+++ b/c_parser/test/ref/15.stdout.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<Program>
+ <Function id="add">
+ <Parameter id="a" />
+ <Parameter id="b" />
+ <Scope>
+ <Variable id="c" />
+ </Scope>
+ </Function>
+ <Function id="sub">
+ <Parameter id="a" />
+ <Parameter id="b" />
+ <Scope>
+ <Variable id="c" />
+ </Scope>
+ </Function>
+ <Function id="mult_by_5">
+ <Parameter id="a" />
+ <Scope>
+ <Variable id="b" />
+ </Scope>
+ </Function>
+ <Function id="add_5">
+ <Parameter id="a" />
+ <Scope>
+ <Variable id="i" />
+ <Scope>
+ <Variable id="b" />
+ </Scope>
+ </Scope>
+ </Function>
+</Program>