summaryrefslogtreecommitdiff
path: root/tests/add2.c
diff options
context:
space:
mode:
authorDavid Moc <personal@cdatgoose.org>2026-03-05 23:38:49 +0100
committerDavid Moc <personal@cdatgoose.org>2026-03-05 23:38:49 +0100
commit0385817bb1301a778bb33f8405a435293b9f8905 (patch)
tree53f4b6f13e393bd368c37ba4363826b46940dfd3 /tests/add2.c
parent262abf9b552a168ef3ae91f91af97683f16420a7 (diff)
Pushing to repo for safety.
Diffstat (limited to 'tests/add2.c')
-rw-r--r--tests/add2.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/add2.c b/tests/add2.c
new file mode 100644
index 0000000..a9cc343
--- /dev/null
+++ b/tests/add2.c
@@ -0,0 +1,7 @@
+int main(int argc, char **argv)
+{
+ int x = 1;
+ int y = 2;
+ int z = x + y;
+ return z;
+}