summaryrefslogtreecommitdiff
path: root/data/test5.c
diff options
context:
space:
mode:
Diffstat (limited to 'data/test5.c')
-rw-r--r--data/test5.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/data/test5.c b/data/test5.c
new file mode 100644
index 0000000..835db83
--- /dev/null
+++ b/data/test5.c
@@ -0,0 +1,19 @@
+void foo() {
+ println(7);
+}
+
+void fum() {
+ int a;
+ int b;
+ a = 9;
+ b = 12;
+ println(b-a+4);
+
+ foo();
+}
+
+void main() {
+ println("This program prints 7 7 7");
+ foo();
+ fum();
+}