aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMustafa Quraish <[email protected]>2022-01-24 11:41:31 -0500
committerMustafa Quraish <[email protected]>2022-01-24 11:41:31 -0500
commit8fdfe1150a2155da5ea9d458adc347c4a6de5ce1 (patch)
treee0383491fac4c2d9f65799270fba4e596f8852aa /examples
downloadcup-8fdfe1150a2155da5ea9d458adc347c4a6de5ce1.tar.xz
cup-8fdfe1150a2155da5ea9d458adc347c4a6de5ce1.zip
Initial commit + start of lexer
Diffstat (limited to 'examples')
-rw-r--r--examples/return-0.cup3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/return-0.cup b/examples/return-0.cup
new file mode 100644
index 0000000..5cc8b30
--- /dev/null
+++ b/examples/return-0.cup
@@ -0,0 +1,3 @@
+fn main(): int {
+ return 0;
+} \ No newline at end of file