summaryrefslogtreecommitdiff
path: root/Homework/cs5300/compiler/p5-compiler/data/test3.c
diff options
context:
space:
mode:
authorElizabeth Alexander Hunt <me@liz.coffee>2026-07-02 11:55:17 -0700
committerElizabeth Alexander Hunt <me@liz.coffee>2026-07-02 11:55:17 -0700
commit6bf4b90c90f15f4ab60833bddf5b5756d1a6b1f6 (patch)
treeed97e39ec77c5231ffd2c394493e68d00ddac5a4 /Homework/cs5300/compiler/p5-compiler/data/test3.c
downloadmisc-undergrad-6bf4b90c90f15f4ab60833bddf5b5756d1a6b1f6.tar.gz
misc-undergrad-6bf4b90c90f15f4ab60833bddf5b5756d1a6b1f6.zip
Diffstat (limited to 'Homework/cs5300/compiler/p5-compiler/data/test3.c')
-rw-r--r--Homework/cs5300/compiler/p5-compiler/data/test3.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Homework/cs5300/compiler/p5-compiler/data/test3.c b/Homework/cs5300/compiler/p5-compiler/data/test3.c
new file mode 100644
index 0000000..1083434
--- /dev/null
+++ b/Homework/cs5300/compiler/p5-compiler/data/test3.c
@@ -0,0 +1,9 @@
+void main() {
+ int a;
+ int b;
+
+ println("This program prints the number 7");
+ a = 3;
+ b = 4;
+ println(a+b);
+}